August 26, 201510 yr Is there a way to use an If statement to determine what button was pressed and execute scripts? I am trying to make a few different buttons and I would like them to use 1 script file and based on the buttons ObjectName it would run different results...
August 26, 201510 yr I am trying to make a few different buttons and I would like them to use 1 script file and based on the buttons ObjectName it would run different results... The solution is to use 1 script not based on the buttons ObjectName, but on the Script Parameter that you'll pass to the script.
August 26, 201510 yr I am trying to make a few different buttons and I would like them to use 1 script file and based on the buttons ObjectName it would run different results... What exactly is entailed in "run different results... "?
August 27, 201510 yr Author The solution is to use 1 script not based on the buttons ObjectName, but on the Script Parameter that you'll pass to the script. Ah yes, thanks, got it working with this information. =)
Create an account or sign in to comment