Re: Scripting dropping a file onto a droplet
Re: Scripting dropping a file onto a droplet
- Subject: Re: Scripting dropping a file onto a droplet
- From: "Roger Howard" <email@hidden>
- Date: Thu, 12 Apr 2001 10:26:30 -0700
Jesse,
Just tell your droplet to open the file you want to open... in your case this would work:
set dropFile to ((path to startup disk as string) & "x") as file
tell application "droplet" to open dropFile
This way you don't need the Finder to do your dirty work... enjoy!
Roger Howard
Digital Media Specialist
Museum Information Systems
The J. Paul Getty Trust
email@hidden
310.440.6908
>
From: "Jesse Proudman (Lists Account)" <email@hidden>
>
Subject: Scripting dropping a file onto a droplet
>
Date: Wed, 11 Apr 2001 12:39:40 -0700
>
>
I have an Adobe Image ready droplet and a file. I want to write a script
>
that will take the image file and drop it onto the droplet, thus evoking the
>
droplet's action. Now, I can't get it to work.
>
>
I've tried:
>
>
Tell Application "Finder"
>
select file "x" of startup disk
>
open selection with "droplet" of startup disk
>
End Tell
Roger Howard
Digital Media Specialist
Museum Information Systems
The J. Paul Getty Museum
email@hidden
310.440.6908