Yes, that worked, thanks. Also, thanks for the advice to use
ASTranslate. I've had no formal idea how to do the translation from
apple script to appscript and so mostly just guess and use common
sense, which obviously doesn't always work! Thanks again!!!
Charlie
On Sep 13, 2009, at 12:
Charles Miller wrote:
I'm trying to perform the following applescript with the appscript
Python module:
tell application "System Events"
tell process "Preview" to click button "OK" of every window
end tell
If you're not sure how to translate an AppleScript command to the
equivalen
I'm trying to perform the following applescript with the appscript
Python module:
tell application "System Events"
tell process "Preview" to click button "OK" of every window
end tell
Is this possible? The closest I got was
import appscript
appscript.app('System
Events').processes[