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

Arthur Rann arthur.rann at gmail.com
Wed Feb 27 08:04:50 EST 2008


Oh, also, how do you put a tag in software that you can check before you
perform your Read, as you suggest? Is there some other way to access the
file other than read?
Thanks!!!
Art

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
> 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
>
> _______________________________________________
> 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