AdobeBridgeCS5SDK

Class SnpCreateWebTabbedPalette

Object
   |
   +--SnpCreateWebTabbedPalette

class SnpCreateWebTabbedPalette


Shows how to create a TabbedPalette that shows a Web page.

Usage

  1. Run the snippet in the ExtendScript Toolkit (see Readme.txt), with Adobe Bridge CS5 as the target.
  2. You should see a new tabbed palette added to the default top-left position.
  3. Try dragging the palette to the Content pane of Bridge; it should show the Adobe website.

Description

Adds a script-defined tab to all Bridge browser windows.

Creates a TabbedPalette object. The tab is of the "web" type, and shows the Adobe home page. It could point to a HTML page containing user-interface components; in this case, you would need to make sure that the HTML file exists in the expected location.

Adds the tab to existing Bridge browser windows, then defines an event handler to listen for the creation of a new browser window, and add the tab to it.

The new tab appears in the default upper-left palette in the browser.

See:

Defined in SnpCreateWebTabbedPalette.jsx


Field Summary
 Object paletteRefs
          
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpCreateWebTabbedPalette()
           
 
Method Summary
 boolean canRun()
           Determines whether snippet can be run given current context.
 Boolean run()
           Functional part of this snippet.

Field Detail

paletteRefs

Object paletteRefs

requiredContext

String requiredContext

Constructor Detail

SnpCreateWebTabbedPalette

SnpCreateWebTabbedPalette()

Method Detail

canRun

boolean canRun()

run

Boolean run()

AdobeBridgeCS5SDK

http://www.adobe.com/devnet/bridge
Documentation generated by JSDoc on Tue Apr 27 10:21:34 2010