• 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: Using AppleScript to drop a PDF file on a droplet.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using AppleScript to drop a PDF file on a droplet.


  • Subject: Re: Using AppleScript to drop a PDF file on a droplet.
  • From: Mark Butler <email@hidden>
  • Date: Sun, 25 Jun 2006 17:39:03 -0700

Hi Brett,

Have you tried something like...

set myApp to quoted form of POSIX path of (choose application)
set myFile to quoted form of POSIX path of (choose file)

do shell script ("open -a " & myApp & " " & myFile)


Mark


A few months back (if memory serves me correctly) someone was asking about
using AppleScript to drop a file onto a droplet. I'm now in need of such
code.


I have a PDF "Pre-Flight" droplet that I created from Acrobat 7 and I need
to have AppleScript drop a PDF (that the script just helped build) onto
this droplet. The results will be that the PDF is scanned and a log
report is produced. This is then read by AppleScript to look for errors.


I was hoping to launch the droplet then tell it to open a file but when
the droplet is launched without a PDF being dropped on it, it immediately
quits.


Any thoughts?

Cheers muchly,

Cojcolds

_______________________________________________ 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: 
 >Using AppleScript to drop a PDF file on a droplet. (From: email@hidden)

  • Prev by Date: Re: What's wrong with the following script ?
  • Next by Date: Re: Using AppleScript to drop a PDF file on a droplet.
  • Previous by thread: Using AppleScript to drop a PDF file on a droplet.
  • Next by thread: Re: Using AppleScript to drop a PDF file on a droplet.
  • Index(es):
    • Date
    • Thread