Drag and Drop from Desktop
Jan Schenkel
janschenkel at yahoo.com
Fri Nov 12 07:13:16 EST 2004
--- Rob Cozens <rcozens at pon.net> wrote:
>
> What must change to allow an unopened Rev standalone
> to respond to
> the drop of a file or folder on its icon by
> launching, processing the
> file/folder, and quitting automatically?...In other
> words, an
> application that responds to _nothing_ except the
> drop of a
> file/folder on its icon?
> --
>
> Rob Cozens
>
Hi Rob,
Since Apple released System 7, AppleEvents have been
used for these purposes : the Finder will launch the
application, and send an appleEvent of type "odoc" and
class "aevt" -- so you can use that information within
Revolution.
Other applications that I know that support
drag'n'drop from the desktop, will open a screen that
says what the application will do -- and then let the
user drop a file onto that window in case the
application was just double-clicked.
Jan Schenkel.
=====
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
More information about the use-livecode
mailing list