Ok…I know this has been covered alot, but I cant find quit what I am looking for. I want to manipulate settings of a program I have, and I understand the click comand now. However, I do not know how to click on certain parts of windows in the preferences of the program. A similar example is itunes. I see how I can do a click command to open the preferences up. However, how do you
tell a script to select (click) the tab that says “Advanced”
2.Once this is done, how do you click on the buttons like “Change” or “Reset”
And, within the “advanced” tab, how do I navigate to the “general”, “importing”, and “burning” tabs of this
If I can figure this out, I can manipulate the other pregram I am using. I dont know what they call various parts of windows (like button? checkbox?). Any help is appreciated. Ian
activate application "iTunes" -- assumes iTunes v6
tell application "System Events"
launch
keystroke "," using command down -- open Preferences
keystroke "7" using command down -- switch to Advanced panel
tell process "iTunes"
click button 3 of group 1 of tab group 1 of window 1 -- Change.
-- click button 2 of group 1 of tab group 1 of window 1 -- Reset
end tell
quit
end tell
--quit application "iTunes"
it is securityspy…a security camera application. The camera setup portion of it. it has a slider and tells its value in a text field. It will only save the value if the slider moves. You can type it in, but it does not save it.
Ok, I think everything is done, but I have one problem. Is there a command in OSX or suites that allows your mouse to be held down? I want to be able to drag something.
Ugrax, I will have to try a few things with that. You would think that extra suites would have thins command. It can tell weather the mouse is down or up, so why cant it just hold the mouse down. I was hoping there would be an if then statement I could use. Really, the program I am trying to script needs some work done to it.