if my user double-clicks on a document (a stack or maybe a text file) which is associated with my Revo-developed app, I can use Ken's technique to get the app to launch and hand my app script the path of the doc to open; however, what if the app is already open? Can I get an environment variable to tell me this, or must I keep a system of flags within my app to distinguish between the first time the user double-clicks (when I will have to go through a long initialisation sequence for the app) and all the subsequent times (when I will just have to act as if my user had chosen File/Open from a menu)? I recall I have had to do this 'manually' on Macs (using Apple Events with SuperCard). In more general terms, where can I find out more about environment variables and also about creating and attaching icons (icon families?) to the application and its associated documents? Maybe I have just missed some massive part of the Revo documentation, but I don't think so.
While I'm at it, what is the Windows equivalent of the Apple Event "aevtquit", where the OS tries to force the app to quit, and how do I handle it?
Deeply confused
Graham
--
-------------------------------------------------------------------
Graham Samuel / The Living Fossil Co. / UK & France
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
