Class SnpMoveTabbedPalette
Object
|
+--SnpMoveTabbedPalette
- class
SnpMoveTabbedPalette
Shows how to place a TabbedPalette in Bridge in a custom location via scripting.
Usage
- Run the snippet in the ExtendScript Toolkit (see Readme.txt)
- Click on the buttons to move the palette around
Description
Adds a script-defined tabbed palette to the Bridge browser window which can be moved to a
new location within Bridge using the TabbedPalette.setLocation() method.
The palette is of the "script" type, and contains ScriptUI components. The ScriptUI buttons are
used to move the palette around or dismiss the palette altogether.
The current workspace is reset to the defaul and the new palette appears in the default
upper-left position in the browser. Removing the pallete will restore the workspace back
to its original state.
See:
Defined in SnpMoveTabbedPalette.jsx
Method Summary |
boolean
|
canRun()
Determines whether snippet can be run given current context.
|
Boolean
|
run()
Functional part of this snippet.
|
paletteRefs
Object paletteRefs
requiredContext
String requiredContext
The context in which this snippet can run.
SnpMoveTabbedPalette
SnpMoveTabbedPalette()
canRun
boolean canRun()
Determines whether snippet can be run given current context. The snippet
fails if these preconditions are not met:
- Must be running in Bridge
Returns:
True is this snippet can run, false otherwise
run
Boolean run()
Functional part of this snippet.
Creates the TabbedPalette object, defining the content with
ScriptUI components, and adds the palette to the current Bridge browser window.
Returns:
True if the snippet ran as expected, false otherwise.
http://www.adobe.com/devnet/bridge
Documentation generated by
JSDoc on Tue Apr 27 10:21:34 2010