finding the folder of a standalone

Nir Soffer nirs at mac.com
Thu Jan 10 07:41:02 EST 2002


Is this the only way to get the folder of the standalone application?

on openStack
  local lFolder
  get matchText (the fileName of me , "^(.*)/[^/]+$" , lFolder )
  set the defaultFolder to lFolder
end openStack

Since you can not use relative path without setting the defaultFolder I
would expect the defaultFolder to be set automaticaly.

Is there any way to make this code part of every project without pasting
it inside? 


Nir Soffer

--
Email: nirs at mac.com
ICQ:   98571424




More information about the Use-livecode mailing list