• 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: kai <email@hidden>
  • Date: Mon, 26 Jun 2006 02:00:13 +0100


On 26 Jun 2006, at 01:20, email@hidden wrote:

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.

You might try something like this, Coj:

------------

set pdf_file to alias "path:to:your:new file.pdf"
launch application "name of your droplet"
tell application "name of your droplet" to open {pdf_file}

------------

---
kai


_______________________________________________ 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: What's wrong with the following script ?
  • Previous by thread: Re: 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