Re: AppleScript or AppleEvent to emulate "Drag & Drop"
Re: AppleScript or AppleEvent to emulate "Drag & Drop"
- Subject: Re: AppleScript or AppleEvent to emulate "Drag & Drop"
- From: Jon Pugh <email@hidden>
- Date: Mon, 7 Jan 2002 17:05:28 -0800
At 3:17 PM -0800 1/7/02, Charles Heizer wrote:
>
If I do a open statement in applescript it opens the app and tries to open the file, but it can't. If I drag and drop the file on the app it works.
You might need to make a list of items, as the Finder always sends a list. That's what this sounds like to me.
Instead of
open file "foo"
do
open {file "foo"}
Good luck.
Jon