Livecode Wiki
Advertisement

Using relative path can be painful if you don't set immediately the DefaultFolder, use always the following code in your program or you'll have very bad surprise:

on preOpenStack
  set itemDel to "/"
  set the defaultFolder to item 1 to -2 of (the effective fileName of this stack)
end preOpenStack

Otherwise you have to use always absolute path...

Advertisement