Re: GUI scripting the Open dialog [WORKAROUND]
Re: GUI scripting the Open dialog [WORKAROUND]
- Subject: Re: GUI scripting the Open dialog [WORKAROUND]
- From: Kaspar Fischer <email@hidden>
- Date: Fri, 4 Aug 2006 01:04:30 +0200
It seems that the problem can be circumvented by simply performing
Cmd-Shift-g again:
tell application "System Events"
tell process "Blabla"
-- here, the Open dialog is on-screen
delay 1
keystroke "g" using {command down, shift down}
delay 1
keystroke (TestsuitePath & "/File.mp3") -- (*)
delay 1
click button "Go" of window "Go To Folder"
delay 1
-- do it again (this is the workaround)
keystroke "g" using {command down, shift down}
delay 1
click button "Go" of window "Go To Folder"
delay 1
click button "Open" of sheet 1 of doc
delay 1
end tell
end tell
Kaspar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden