getting zero k file when using put url binfile in standalone app

Mike Bonner bonnmike at gmail.com
Sun Feb 5 11:52:05 EST 2012


Another option you might consider.. You could just store the stack in a
property and grab it from there.

On Sun, Feb 5, 2012 at 9:46 AM, Colin Holgate <coiin at verizon.net> wrote:

> Thanks. Maybe engine should be changed to include standalones? It would
> give an easy way to get at included files. For now I changed things to
> construct the filepath to the stack to copy:
>
> on openstack
>   set the defaultFolder to specialFolderPath("Documents")
>   if there is not a file "AppStack.livecode" then
>      put the filename of this stack into masterfile
>      set the itemdelimiter to "/"
>      put "AppStack.livecode" into the last item of masterfile
>      put specialFolderPath("Documents") & "/AppStack.livecode" into appfile
>      put URL ("binfile:" & masterfile) into URL ("binfile:" & appfile)
>   end if
>   go stack specialFolderPath("Documents") & "/AppStack.livecode"
> end openstack
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list