Drag & Drop File/Folder on Rev Standalone Program Icon
Frank Engel
fde101 at fjrhome.net
Mon Nov 8 13:50:05 EST 2004
One "general" solution would be to implement both. A non-mac will not
send the apple event, so handling that event will not have any effect
on a non-mac. Even if $1 is not available under Mac OS Classic, you
can still implement it for the other platforms.
The only "tricky" case is that you can't rely on $1 being empty as
indicating that no file was dropped on the icon.
On Nov 8, 2004, at 13:37, Rob Cozens wrote:
> Hi Jan,
>
>> MacOS will send your app an AppleEvent of type 'odoc'
>> -- not sure which class, can't check at the moment.
>>
>> Hope this helped,
>
> It did a little...my desire is for one general solution; but at least
> you've shown me A solution for Classic Mac..
>
> I'll check it out.
> --
> Rob Cozens, Staff Conservator
> Mendonoma Marine Life Conservancy
> P.O. Box 217
> Manchester, CA 95459-0217
> (707) 895-2584
>
> "Promoting a healthy and bountiful offshore environment."
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode
mailing list