• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: system events ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >[AS] saving as AppleWorks 5 (From: Yvan KOENIG <email@hidden>)
 >Re: [AS] saving as AppleWorks 5 (From: kai <email@hidden>)
 >Re: [AS] saving as AppleWorks 5 (From: Yvan KOENIG <email@hidden>)
 >Re: [AS] saving as AppleWorks 5 (From: kai <email@hidden>)
 >system events ? (From: Christian Vinaa <email@hidden>)

  • Prev by Date: Re: Determining the Default Mail App
  • Next by Date: Re: how to compare two lists without looping? possible?
  • Previous by thread: Re: system events ?
  • Next by thread: Re: [AS] saving as AppleWorks 5
  • Index(es):
    • Date
    • Thread