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
stack)
end mouseUp

Jan

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to