Understand how to manage scripts in Adobe FrameMaker.
FrameMaker includes a script catalog that allows you to easily manage your scripts.
Choose Script Library.
to open theThe catalog lets you manage favorite scripts, AutoRun scripts, and registered (notification) scripts.
Select the Favorites option in the catalog to manage your favorite scripts.
You can perform the following operations from this screen:
To add a script as a favorite, click Add. Select the script from the script browser and click Select. The script is then added as a favorite.
To remove a script from the Favorites list, select the script and then click Remove.
Click Refresh to refresh the list of favorite scripts.
To mark a script as an AutoRun script, select the script and click Move To AutoRun. FrameMaker copies the script from its exiting location into the FrameMaker user startup folder (%appdata%\Adobe\FrameMaker\xx\startup\).
Select the Favorites option in the catalog to manage your favorite scripts.
You can perform the following operations from this screen:
To add a script as a favorite, click Add. Select the script from the script browser and click Select. The script is then added as a favorite.
To remove a script from the Favorites list, select the script and then click Remove.
Click Refresh to refresh the list of favorite scripts.
To mark a script as an AutoRun script, select the script and click Move To AutoRun. FrameMaker copies the script from its exiting location into the FrameMaker user startup folder (%appdata%\Adobe\FrameMaker\xx\startup\).
Select the AutoRun option in the catalog to manage your AutoRun scripts.
AutoRun scripts are run automatically each time FrameMaker is launched. Any script that is placed in the following directories, becomes an AutoRun script.
<Fm_install_location>\startup
%appdata%\Adobe\FrameMaker\xx\startup
All scripts are run in alphabetical order.
You can perform the following operations:
To add a script as an AutoRun script, click Add. Select the script from the script browser and click Select. FrameMaker copies the script from its exiting location into the FrameMaker user startup folder (%appdata%\Adobe\FrameMaker\xx\startup\) and adds the script to the AutoRun list.
To delete a script from the AutoRun list, select the script and click Delete.
Click Refresh to refresh the list of favorite scripts.
Select the Registered option in the catalog to manage your registered scripts. Registered scripts are also called as notification scripts. These scripts are run when the events for which they are registered are triggered.
Notification is the internal mechanism through which a script registered for a particular event is run when the event is triggered.
Any script that is registered to run when an event is triggered is displayed in the notifications list in the catalog.
To unregister a notification script, select the script and click Unregister. The script is then unregistered. Once a script is unregistered, the script is not run, when the event for which it was previously registered is triggered.
When a script that has already been added to the catalog is moved or deleted from its current location in the file system, it is termed as a broken script.
To view such scripts, select the Show Broken Only option in the catalog. The catalog then displays all the scripts that are broken.
You can then delete such scripts from the catalog. When you delete a script, it is only deleted from the catalog and not from its location in the file system.
To run a script from within the catalog, select the script from the list and click Run.
To edit a script from within the catalog, select the script from the list and click Edit. The script is opened in the ExtendScript Toolkit editor.
To run a new script (not added to the catalog yet), select the option marked New and click Run. Then, select the script from the script browser and click Open.