|
Category: Scripting and Macros
FAQ |
Short Answer |
Additional Information |
| How do I cancel a Project Script File? | You can cancel a Project Script File, on entering Datamine Studio, by selecting File | Project Script File from the menu then Select New. Now, direct Studio to the script that you wish to use, or select Restore Default (see Additional Information). | An alternative way to
cancel the Project Script File is to point it back to the original file that is shipped with Datamine Studio. This can be found in : ...\DmStudio.140\Scripts\Common\DefaultScript.htm. The Restore Default option will automatically direct Datamine Studio to use this file. |
| How do I run scripts over a network? | Running scripts over a network is straightforward. First, change the security level of the HTML scripts. Datamine scripts need a different security level in order to be accessed over a network. Use Internet Explorer and select Tools | Internet Options. You are, however, strongly advised to read "more about running scripts over a network" and any additional Internet Explorer help information for Security Zones before doing this. | More about running scripts over a network. |
| How do I set a toggle switch to ON or OFF in a script? | Use the CL Commands command("cl-set-toggle", "string-display-switch ", "ON") or command("cl-set-toggle", "string-display-switch ", "OFF") |
If you know you
want to set a specific toggle switch to On you can use the command CL: cl-set-toggle: command("cl-set-toggle", "string-display-switch ", "ON") If you know you
want to set a specific toggle switch to Off you can use the command CL: cl-set-toggle: |
| How do I learn more about scripting? | There is a comprehensive scripting tutorial which can be started by selecting Help | Scripting Tutorial. |