Hi There,
I'm trying to write a script that will load an application, go to a tab in the application then click a button.
So far, I have this:
The problem is that the app does not load on the correct tab, so it cannot click the button.
Here is a screenshot of the menu/tab bar:
Does anyone have any idea of the code required to get me to the 'Advanced' tab?
I know that I haven't explained this well, but hopefully someone will understand.
I'm trying to write a script that will load an application, go to a tab in the application then click a button.
So far, I have this:
Code:
tell application "WirelessUtilityCardbusPCI"
activate
end tell
tell application "System Events"
tell process "WirelessUtilityCardbusPCI"
[B]{Insert go to tab code here}
[/B] click button "Radio Off" of tab group 1 of window "Wireless Utility"
click button "Radio On" of tab group 1 of window "Wireless Utility"
end tell
end tell
The problem is that the app does not load on the correct tab, so it cannot click the button.
Here is a screenshot of the menu/tab bar:

Does anyone have any idea of the code required to get me to the 'Advanced' tab?
I know that I haven't explained this well, but hopefully someone will understand.