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: EBI Aktivitet <email@hidden>
- Date: Sun, 03 Mar 2002 01:25:47 +0100
Fantastic! Works like a marvel. Thanks a lot.
Adim
Den 02-03-03 01.14, skrev "Adam Hinshaw" <email@hidden>:
>
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.
_______________________________________________
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.