Re: Photoshop 6.0.1 Droplets and Applescript
Re: Photoshop 6.0.1 Droplets and Applescript
- Subject: Re: Photoshop 6.0.1 Droplets and Applescript
- From: Adam Hinshaw <email@hidden>
- Date: Sun, 03 Mar 2002 11:14:20 +1100
Hi,
just had to deal with something similar to this yesterday.
Problem was trying to open a photoshop droplet, passing a file reference (ie
simulating a drag and drop)
Calling the photoshop droplet with a tell app "pshopdroplet"; structure
would fail it seems because of a lack of a dictionary in the droplet.
Solution:
Use the every trusty scriptable finder
---------
set app to "Mac HD:Desktop Folder:testOpenDroplet"
set myFile to "Mac HD:Desktop Folder:media:ev11656.jpg"
tell application "Finder"
open file myFile using application file app
end tell
---------
good luck
adam
on 3/3/02 3:50 AM, EBI Aktivitet at email@hidden wrote:
>
Did you use this script? I'm trying to pass a file to open for the droplet
>
to work on, but it ignores all paths. It would seem that the droplet can't
>
use the referense passed.
>
>
Any help you can give would be much appreciated.
>
>
Regards, Adim
>
>
Den 01-11-15 19.29, skrev "Goodman, Steve" <email@hidden>:
>
>
> If your using a droplet then you must treat it as its own application. The
>
> "do script" command is used to run an action on an image you open within
>
> Photoshop.
>
>
>
> Tell app "your droplet"
>
> open file "your:file"
>
> end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.