• 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
Exporting pdf to jpeg using preview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exporting pdf to jpeg using preview


  • Subject: Exporting pdf to jpeg using preview
  • From: Bernardo Hoehl <email@hidden>
  • Date: Thu, 11 Nov 2004 15:28:20 -0200

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

  • Follow-Ups:
    • Re: Exporting pdf to jpeg using preview
      • From: Bernardo Hoehl <email@hidden>
  • Prev by Date: New AppleScript Book Table of Contents posted
  • Next by Date: Re: Exporting pdf to jpeg using preview
  • Previous by thread: New AppleScript Book Table of Contents posted
  • Next by thread: Re: Exporting pdf to jpeg using preview
  • Index(es):
    • Date
    • Thread