Creates and returns a ScriptUI Window object to be used as a new page in the Preferences dialog.
PreferencesDialog
Provides access to the Adobe Bridge Preferences dialog, allowing you to add a panel to the dialog with your own ScriptUI controls that access and set any application preferences that you have defined by adding properties to the Preferences Object. You can only access this object as the target of an event. The object is returned in the object property of an Event Object that results from an event in a Preferences dialog. See PreferencesDialog events. The Preferences dialog is modal, which means that no other Adobe Bridge events can occur until the user dismisses it with the OK or Cancel button, or closes it with the window-frame icon. For the OK button, the dialog generates an ok event. Your handler can collect the values from the controls in your panel, and modify the property values in the Preferences object accordingly. For the Cancel button, the dialog generates a cancel event, and for the window-close gesture, it generates a destroy event. Your handler can, for example, clean up structures you created for the window. The class defines no properties.
Methods
Closes the Preferences dialog.