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 <[email protected]> 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 > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
