Re: iWorks Pages "Print" dialog
Re: iWorks Pages "Print" dialog
- Subject: Re: iWorks Pages "Print" dialog
- From: KOENIG Yvan <email@hidden>
- Date: Fri, 16 Sep 2011 18:27:45 +0200
Le 16 sept. 2011 à 17:55, Bennett Hart a écrit :
>
> How would this be done in Entourage and Outlook as opposed to Pages?
>
>> tell application "Pages"
>> activate
>> set file_name to name of document 1
>>
>> tell application "System Events"
>>
>> tell application process "Pages"
>> --keystroke "p" using {command down} --this works
>> --delay 3
>> click menu item "Print∑" of menu 1 of menu bar item "File"
> of menu bar 1
>> click menu of menu button "PDF" of sheet 1 of window
> file_name
>> click menu item "Save PDF to Evernote" of menu 1 of menu
> button "PDF" of sheet 1 of window file_name --Errors at this line.
>> end tell
>>
>> end tell
>
> --
Merd…Soft products aren't allowed to enter my home and my machines so I have no practice of them.
I guess that you just need to replace the word "Pages" by "Outlook" or "Entourage"
Yvan KOENIG (VALLAURIS, France) vendredi 16 septembre 2011 18:27:37
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden