Re: Exporting pdf to jpeg using preview
Re: Exporting pdf to jpeg using preview
- Subject: Re: Exporting pdf to jpeg using preview
- From: Bernardo Hoehl <email@hidden>
- Date: Thu, 11 Nov 2004 16:44:56 -0200
I was being very, very silly...
I was holding control down when I had hold
SHIFT down...
Very, very stupid of me.
Now it works. With or without Ui Scripting activated.
Thanks to you all!
Bernardo
++++++++++++++++
On 11 Nov, 2004, at 3:28 PM, Bernardo Hoehl wrote:
Hi Folks,
I am trying to create a script for my wife, to export her screenshots from pdf to jpg.
Her customers are PC users and might not see the pdf files in case they don't Acrobat Reader installed.
Using jpg would be a wise precaution.
But I am stuck trying to figure out how to get System Events to press 3 keys simultaneously....
This is the code so far: (may be I make it a droplet later...)
tell application "Preview"
set x to choose file
activate
do shell script "open " & quoted form of POSIX path of x
delay 3
tell application "System Events"
keystroke "e" using command down --using control down
end tell
end tell
Thanks for any help,
Bernardo Höhl
Rio de Janeiro - Brazil _______________________________________________
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
_______________________________________________
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