I tried to use go to object script, but found the button was in a black frame state, I would like to see the state of "pressed", how can I do that?
Your response matches mine. I stated that your script can perform the same task but that won’t change the button’s appearance.
You could simulate this by putting an object on your layout that looks like the button in its “pressed” state and use hide object when to show it with your script but that seems more trouble than it’s worth.
You can just use perform script to perform the button’s script. That won’t change the button’s appearance, however.
I tried to use press button to "open a new window", for example, but instead of pressing by click it,I just want to script to press it. When I use perform script "open a new window", I found just open a window, but the appearance of button is not pressed, am I missing something?
Retrieving data ...