Re: Dropping text on to Droplets
Re: Dropping text on to Droplets
- Subject: Re: Dropping text on to Droplets
- From: Sander Tekelenburg <email@hidden>
- Date: Thu, 7 Jun 2001 20:23:19 +0200
At 11:12 +0200 UTC, on 07/06/2001, Brennan Young wrote:
>
I'm comfortable with using droplets with files and groups of files, but
>
sometimes I'm dragging text (and other non Finder objects) between
>
applications
>
and I got to thinking that it would be fine if applescript droplets
>
could accept
>
arbitrary objects as input.
>
>
The way it works now, I have to drop the text on the desktop, then drag the
>
clipping on to (say) TexEdit Plus.
>
>
Any ideas? Or does this count as a feature request?
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.
--
Sander Tekelenburg, <
http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"