On Jan 22, 2007, at 7:14 PM, Aliacta wrote:

Here's a script that ought to work but on my system I still get the previously mentioned error on the "click" line. Can anyone test this:

 tell application "System Events"
   tell process "TextEdit"
        set frontmost to true
click menu item "Print..." of menu "File" of menu bar 1 -- three full stops after "Print"

The Print... should be an ellipsis. Not sure what is wrong with the PDF button part though. I didn't take the time to try and track that one down. That one is the tricky one if I remember correctly.

Kevin
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to