I have two buttons for adding a Credit Card surcharge “Add3” and “Add5”
To keep the number of rules to a minumum, I am trying to have just one rule, which will execute either one of two possible actions once triggered (depending on whcih button was pressed).
But I seem to be getting somehting wrong. I have read that you need to use printer tags in the contraint box, but I was wondering if there is any chance it’s possible to read the AutomationCommandName?
This is what I have right now, but at the moment all the actions are executed, instead of just one…
If I use Show Message for [:AutomationCommandName] is does show a popup for the correct button name, but when used as a constraint it doesn’t seem to work.
I must be using the Name and not the Header because it is working correctly for the overall contrainst for the rule above.
I was a little under of the syntax I should use for the contraint.