on opening folder theAttachedFolder set thePath to POSIX path of theAttachedFolder tell application "User Logger" to save in thePath end opening folder