Repository navigation
First Script
Domenico Patella edited this page Apr 8, 2025
·
10 revisions
Let's create the first script in the GiG Script file Ctrl+Shift+3 The system function initialitation is called at the first execution of the script , it may be present but is not mandatory Within this function can be executed the operations that we require to be performed before processing the rest of the program
💡 Tip:
GPScript does not provide a debugging environment, but you can write with the Print(s: string) function in the log window to keep
track of program processing
/******************************************************
//
// GIG Script
//
******************************************************/
Initialization
// Write in Log Window Ctrl+shift+4
Print("GIG script ")
End

The system function Notify (s: string ) writes a message in the GIG window
/******************************************************
//
// GIG Script
//
******************************************************/
Initialization
// Write iN Log Window Vtrl+shift+4
Print("GIG script ")
Notify("I'm a message!")
End

The notify message has a low execution priority , it is placed in a buffer and queued after a certain time. To be used for non-continuous messages