Wednesday, January 18, 2006

 

Toggle Transform Content Preference

It's hard to imagine that it has taken me this long to address this constant source of frustration. In the UI, the only way to find out if this Transform Content preference is on or off is to activate the menu (on either the Control Palette or Transform Palette) and look at it.

You can toggle it with a shortcut, but that won't tell you which state it is in. So:
//DESCRIPTION: Beeps when preference is turned on

if (!app.transformPreferences.transformContent) beep()
app.transformPreferences.transformContent = !app.transformPreferences.transformContent
This script beeps when it turns on the preference but turns it off silently. So all I need to do is attach a shortcut and I won't have to keep visiting that blasted menu.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?