• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Event Handling in Bridge

When a user takes certain actions in Bridge, such as copying a file, or creating a new Bridge browser window, Bridge generates a user-interaction event. You can modify the way Bridge responds to these events by defining your own event handlers. Scripts can also generate events through function calls, that simulate user activity, such as the Thumbnail Object’s open (page 138) method, or the Document Object’s select (page 111) method.

Defining event handlers

An event-handler function takes one argument, an Event Object (page 112). This object, which is passed to your registered handler when the event occurs, contains all of the context information about the event, such as which type of event occurred, the target object that generated it, and where that object was located within the browser window.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint