Think about error trapping and fool-proofing when you design a script.
Make use of the drop-down menu facilities in Script Editor that allow you to select your code and use the builders.
Use the print window for testing and debugging.
Use the help and remember you can copy and paste to the editor.
Copy and paste - plagiarise as much as you can.
Document as you go, it's much easier when you come back later.
Back up your scripts and keep a library as you develop them for clients.
Rem can be used at the start of a line to make the entire line as a remark.
Apostrophe ( ' ) can be used part way through a line to comment a section of a line.
ESC will break out from a Script. Alt+F1 will break out of a script immediately.
Work in a test company when writing scripts and backup live data before you test a script in a live environment.
Finding Help
Accredo > Help > Contents > MaxBasic.
Accredo > Help > Contents > Automation - contains automated documentation on Accredo objects.
Accredo > Help > Contents > Scripts & Scripting.
Remember you can ask Accredo to write scripts for you. Provide a specification for what you want and Accredo will quote for the development.
Accredo runs scripting workshops. These are aimed at QSP's who want to do more scripting. We ask participants to bring along examples of scripts they have been asked to write and work though these. Real business cases can be more useful than examples.