Introduction to Scripting
This set of 9 scripting videos has been created for Pharos customers who are looking to get even more out of our Designer 2 software. Knowledge of scripting isn’t a necessary requirement in order to use Designer 2, but if you’re interested in scripting and would like to explore how it can be used as part of your lighting projects, then this set of videos is for you.
If you’d like to use the same project file as the one in the videos, it’s available to download here. Each project file is numbered and should be used with the corresponding video. After you have completed the tutorial, you may be interested in seeing a project file that uses all the of the scripting elements combined. If this is the case, please have a look at the last file: ‘Example TPC storing presets.pd2’. This example project file is for a TPC and has a substantial amount of scripting. Its purpose is to allow the user to store presets, and ensures the user interface gives the correct feedback.
If you have any questions, please get in touch.
0. Scripting in Pharos – Introduction
Introduction video on the why-what-where of scripting in Pharos Designer.
1. Scripting in Pharos – Trigger Scripting Basics
Basic session on how to create and execute a trigger script in Pharos Designer.
2. Scripting in Pharos – Variables
What are variables, and why use them?
3. Scripting in Pharos – Tables
What are tables and why use them?
4. Scripting in Pharos – If Statements
How to use the ‘if this then that’ principle in Pharos Designer.
5. Scripting in Pharos – For Loops
How to use a ‘for some values, do’ principles in Pharos Designer.
6. Scripting in Pharos – Functions
How to create and recall functions for more efficient scripting.
7. Scripting in Pharos – API & Variants
How to access different API components, and learn about Variants.
8. Scripting in Pharos – Trigger Scripting Tips
Some tips about formatting, error messages, short hands and the command line parser.