Hi [EMAIL PROTECTED]:

Hi all...I want to handle droping a file on standalone to force it to run and
open the file. my code so far is this:


on appleEvent pClass,pID
   if pClass = "aevt" and pID is in "odoc oapp" then
     request appleEvent data
     if it = "" then exit appleEvent
     openFileRoutine it
   end if
end appleEvent

on openfileroutine fpath
   open file fpath
   read from file fpath until eof
   close file fpath
   put it into data
   --parse the data given from it
end openfileroutine

However, its not working. What am I doing wrong?

Quick guess:


Is the path in "it" from the appleevent in Mac format?
I mean : (colon) as a separator?


Regards


Klaus Major
[EMAIL PROTECTED]
www.major-k.de

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to