Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI scripting the Open Š dialog [WORKAROUND]



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:
http://lists.apple.com/mailman/options/accessibility-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: GUI scripting the Open Š dialog (From: Kaspar Fischer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.