For convenience, you can assign scripts to different buttons if you need to run them frequently. To achieve this you can use following:
- Select an available panel, such as NAVIGATOR, and click on the DIAdem Scripts (Start with <Shift-Function Key>) option.
- Choose one of the buttons arranged from F1 to F12 and right-click it.
- Select Predefine Setting.
- Input the path or use the "..." button to browse to the location of the script and click OK.
You will now be able to click on the corresponding button in the DIAdem Scripts (Start with <Shift-Function Key>)
function group to start the selected script. You can also press <Shift-Function Key> on your keyboard to start the script assigned to the corresponding function key button.
If the script loaded makes a reference to the SCRIPT panel in a command, you can get an error indicating that the function is not available in the current edition. For example, the command Call WndShow("SCRIPT","MAXIMIZE")
will cause an error if using the Base edition.
The DIAdem Base edition can run scripts, however, it does not allow you to create or edit a script. You will need to upgrade to the Advanced or Professional edition if you wish to create and edit script files. Refer to Select Your DIAdem Edition
for differences between DIAdem editions.