PRIMER 22.1
Assigning JavaScripts to Shortcut Keys
Assigning JavaScripts to Shortcut Keys
Scripts can be assigned to shortcut keys to make the?m quick and easy to run. To do this use the shortcut keys panel which is accessed by pressing -> or by pressing the shortcut key ' '
Using the above button will only assign the script to the shortcut key for this session of PRIMER. If you want to always assign the script to a shortcut key use the primer*F1_key preferences etc in the shortcut_keys branch for PRIMER in the oa_pref preference file. Note that the preference can be used to run either a shortcut, a script or a macro. For PRIMER to know that the preference should run a script and not a macro, the script MUST NOT have the extension prm .