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@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