Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3375 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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... 

Posted

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.

Posted

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... "?

Posted

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. =)

This topic is 3375 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.