JS: pass object(GetItem) in script call

Kenny Stoepel 11 months ago • updated by Jackie Roos 11 months ago 1

Would it be possible to add a variable in the script call? ideally this var would be the object that was pressed. example: 10 buttons all call the same script; how would i determine wich button was pressed. I do not want to make a listener for each button. for 10 this would be a shortcut but not for 500 buttons :)


I do this by setting the value of a project token before the script call, and get the project token value