Hi!
I have a project where I’ve worked with hidden buttons, and then throughout the script i set visible of buttons to true or false. In the beginning i also let the app check if a certain button was visible or not and then perform different actions, but i realized that it’s quicker if it didn’t have to check that all the time.
Now I started to wonder if there’s any pros or cons to the whole hidden button thing compared to changing the image (icon) of the button, mostly in terms of speed and performance. With different buttons being visible and hidden it’s easy to trigger different actions just depending on the button name, so i’ve built up my script around that. The hidden/visible thing doesn’t work in panther though.
Any thoughts?