Re: How to launch a stack from a file.
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. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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
How to launch a stack from a file.
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? Thanks Mike ___ 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
Re: How to launch a stack from a file.
Mike D. 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? Obviously you are on Mac. The first method should work. The other two not. Hope you didn't forget the quotes around the path? ___ 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
Re: How to launch a stack from a file.
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