how do I open a folder using Applescript?
Thanks
Mac, Mac OS X (10.6.2)
Mac, Mac OS X (10.6.2)
Ronan wrote:
Hi, Thanks..
I tried
tell application "Finder"
open ("/Users/macbook/Documents" as POSIX file)
end tell
and got this:
Finder got an error: AppleEvent handler failed.
any ideas?
path to documents folder is a valid Applescript statement. You can get a 'path to' various default folders using that command and the correct form of the special folder name.
how do I open a folder using Applescript?