Scripting Finder to open a hidden . folder...
Scripting Finder to open a hidden . folder...
- Subject: Scripting Finder to open a hidden . folder...
- From: "Stranathan, Dan" <email@hidden>
- Date: Wed, 13 Aug 2008 11:42:34 -0500
- Acceptlanguage: en-US
- Thread-topic: Scripting Finder to open a hidden . folder...
I'm trying to use an AppleScript to get the Finder to open a hidden folder that lives on a SMB network volume, but the script doesn't like the fact that the folder is hidden (it has a dot at the beginning of its name to avoid being accessed by accident)
Code: tell application "Finder" to open folder "Volumes:support:.ckpt"
Error: Finder got an error: Can't get folder "Volumes:support:.ckpt".
What's odd is that I have no problem pathing to the hidden folder using the Finder's native "Go to Folder..." GUI tool. I type in the path (Volumes/support/.ckpt). I can also drill into the folder from the Terminal as well (cd /Volumes/support/.ckpt).
Any ideas on how to make AppleScript handle this location without complaints?
Thanks
-Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden