Jump to content

Inserting "Get Script Parameter" into an if statement"


Mif
 Share

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

Recommended Posts

Is is possible to insert a "get scriptparameter" function in the following If statement, to replace the two instances of "standard 1":

If [standard 1::highlight_a_tempkey = standard 1::zk_standard_p]

Link to comment
Share on other sites

Thanks comment, I appreciate your help.

This works on my if statement but I cant get it to work on a clear statement. In light of what StuartT suggested, here is more information. This is my current script which works perfectly to toggle a colour on and off. I need to this for 6 table occurances - standard 1:: through standard 6, and for 5 "highlight tempkeys", highlight_a_tempkey, highlight_b_tempkey, c, d, and e.

Can I get this down to six scripts or even one script.

If [standard 1::highlight_a_tempkey = standard 1::zk_standard_p]

Clear [select; standard 1::highlight_a_tempkey]

Go to Field [ ]

Exit Script [ ]

End if

Set Field [standard 1:: highlight_a_tempkey; standard 1::zk_standard_p]

Go to Field [ ]

Thanks again

Link to comment
Share on other sites

This topic is 5702 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
 Share

×
×
  • Create New...

Important Information

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