dragdrop files for a standalone.
Meitnik at aol.com
Meitnik at aol.com
Mon Apr 19 21:05:58 EDT 2004
This is what i figured out with some help on handling files dropped on my
standalone.
on appleEvent pClass,pID
if pClass is "aevt" then
if pID is "odoc" then
request appleEvent data
openFileRoutine it
end if
end if
end applevent
on openfileroutine it
put it into fpath
open file fpath
read from file fpath
close file fpath
[parse the data given from it]
end openfileroutine
any improvements or suggestions.? thanks
andrew
More information about the use-livecode
mailing list