This has to be easy! Tell a program not to open a file

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Jan 31 11:43:28 EST 2008


Hi Art,

I always include a symbol, tag or item in files that are created by  
my standalones. Before I start the read routine, I check whether this  
symbol, tag or item is correct. If it is, I continue reading the  
file, if it isn't I show a message that the file cannot be displayed.

If you want to prevent your standalone from loading stacks, you might  
need to handle the reload message and check the variable $1 on  
Windows or catche the appleEvent message on Mac.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 31-jan-2008, om 16:09 heeft Arthur Rann het volgende geschreven:

> Hi,
> We have users forcing documents from one of our apps to be opened  
> in another
> of our apps by using the right click in Windows. Is there a way to  
> make a
> Rev based program only allow one type of document to be opened  
> (this is on
> Windows)?
>
> Thank you!!!
> Art
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list