getting zero k file when using put url binfile in standalone app
Colin Holgate
coiin at verizon.net
Sun Feb 5 11:46:48 EST 2012
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
More information about the use-livecode
mailing list