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?
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to