Re: Dropping text on to Droplets
Re: Dropping text on to Droplets
- Subject: Re: Dropping text on to Droplets
- From: Paul Skinner <email@hidden>
- Date: Fri, 08 Jun 2001 15:07:43 -0400
on 6/7/01 7:26 PM, Brennan Young wrote:
>
Sander Tekelenburg <email@hidden> wrote
>
>
> I suppose it could be nice if AS would be able to handle this
>
> internally on the fly. In the mean time, couldn't you look at the
>
> file's type, and if it is "TEXT" just have your script read it (and
>
> then do with it whatever you want to do with it)? Would only work with
>
> plain text of course.
>
>
Problem is, droplets only get triggered by files (i.e. aliases) dropped on
>
them
>
in the Finder, so I'd still need to save a file first.
>
>
What's needed is a mechanism to pass general drag and drop messages to the
>
open
>
handler of applescript droplets, not just dragged Finder files, then I imagine
>
it would work even with image clippings, for example a frame dragged from a
>
Quicktime movie.
I think this is where you'd want to create a new shell for AppleScript.
The standard applet shell is the only one available from apple and I haven't
seen any references to any made by third parties, but it is possible.
--
Paul Skinner