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.



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to