This has to be easy! Tell a program not to open a file
arthur.rann at gmail.com
Wed Feb 27 07:03:16 CST 2008
We took your advice, but we were unable to figure out how to not load the
file if it's in $1. If $1 contains something we don't want, what do we do
then? Right now we just show an error message and quit. Obviously, this is
not ideal. What do we do next?
On Thu, Jan 31, 2008 at 10:43 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> 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
> Quickly extract data from your HyperCard stacks with DIFfersifier.
> 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
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode