MoneyWorks Manual
To Create a New Script
- Click the plus icon at the bottom left of the scripts window
You will be asked to enter the script name.
Note that the name must be unique (you cannot have two scripts with the same name).
The Add a new UI Form option is used to design and create your own windows. This is covered in the UI Builder section.
- Enter the script name and click OK
A new script will be created.
As an example, copy and paste the following script into the editor for your new script:
constant meta ="Script by YOUR NAME. http://YOUR_URL" on Hello Alert("Hello World!") end on Load InstallMenuCommand("Hello World", "Hello") end
Click Activate in the toolbar. Your script is compiled and loaded. Look in the Commands menu and you will find a new command at the bottom called "Hello World".
To Delete an Existing Script
- Select the script to Delete by clicking on its name on the sidebar
- Click on the Cogs icon on the bottom left of the script window and select Delete Script
You will be asked for confirmation
- Click OK to delete the script
To Rename a Script
- Select the script to rename by clicking on its name on the sidebar
- Click on the Cogs icon on the bottom left of the script window and select Rename Script
- Enter the new script name (which must be unique) and click OK
The script will be renamed and deactivated. You will need to reactivate the script if required.
Note: If the script contains a public handler, any other scripts that use that handler will also be deactivated. You will need to alter the handler calls in these other scripts to reflect the new script name.