setting the default folder to the folder where the stack is..

Jan Decroos jan.decroos at
Fri Dec 14 03:17:01 EST 2001

maybe this can help:

function getFolderFromFilename tFilename
  put the itemDelimiter into savedDelimiter
  set the itemDelimiter to "/"
  delete last item of tFilename
  set the itemDelimiter to savedDelimiter
  return (tFilename&"/")
end getFolderFromFilename

on mouseUp
  answer getFolderFromFilename(the value of word 2 of the long name of this
end mouseUp


More information about the use-livecode mailing list