How to launch a stack from a file.

Michael Doub mikedoub at gmail.com
Mon Feb 8 03:34:48 CET 2016


Thanks Richard,   The stack was corrupted.   I had saved it with file: 
rather than binfile:     All is well now.    Good to know about checking 
the result.

-= Mike


On 2/7/16 2:40 PM, Richard Gaskin wrote:
> Michael Doub wrote:
> > I am trying to build a simple launcher app and I am stumped as to how
> > to load a stack from a file.  I have no problem loading it from my
> > dropbox, but not from a local file.
> >
> > put
> > 
> /Users/mike/Library/Preferences/CueSheets/ridewithgps_cuesheets.livecode
> > into localpath
> >
> > none of the following work:
> >
> > go stack localpath
> > go stack url ("binfile:" & localpath)
> > go stack url ("file:" & localpath)
> >
> > I have also tryed the "in a new window" clause
> >
> > What am I missing?
>
> A check of "the result" immediately after the line that fails so you 
> can find out what the engine's trying to tell you about how to fix it.
>




More information about the use-livecode mailing list