Re: system events ?
Re: system events ?
- Subject: Re: system events ?
- From: kai <email@hidden>
- Date: Fri, 10 Feb 2006 16:29:05 +0000
On 9 Feb 2006, at 22:36, Christian Vinaa wrote:
At 17:41 +0000 09/02/2006, kai wrote:
tell application "System Events" to tell process "AppleWorks 6"
set frontmost to true
keystroke "s" using {shift down, command down}
tell window "Save: AppleWorks 6"
repeat until exists
delay 0.2
end repeat
button 5
end tell
end tell
--> button "Cancel" of window "Save: AppleWorks 6" of application
process "AppleWorks 6" of application "System Events"
okay ( BTW hi kai ! )
Hi Christian. :-)
this got me thinking
can the system events be used to instruct the print window
especially the print as pdf option
and if yes; is there a format like the:
***
pop up button 1 of UI element 1 of UI element 1 of UI element 9 of
window "Save: AppleWorks 6" of application process "AppleWorks 6"
of application "System Events"
***
As Bill has confirmed already, I'm afraid this still doesn't work as
it should. Let's hope it can be fixed before too long.
In the meantime, if you're not averse to recruiting the aid of third-
party software, this recent discussion gives an example of a possible
workaround:
http://lists.apple.com/archives/applescript-users/2006/Feb/msg00046.html
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden