How a script can read its name
Example: How a script can read its name within the script
Event-based program
The following program will log the event’s script name.
- -- use global variable _SCRIPTNAME
- log(_SCRIPTNAME)
The following program will log the event’s script name.
- -- use global variable _SCRIPTNAME
- log(_SCRIPTNAME)