Creating global variable in generateScript

Take a Look at @jbm’s example: Can urcap send and execute ur script within the program node? - #12 by jbm

You can use this class to send a urscript command when the button is pressed