Re: Scripting Finder to open a hidden . folder...
Re: Scripting Finder to open a hidden . folder...
- Subject: Re: Scripting Finder to open a hidden . folder...
- From: Doug McNutt <email@hidden>
- Date: Wed, 13 Aug 2008 15:31:05 -0600
At 11:35 -0700 8/13/08, Christopher Nebel wrote, and I snipped a bit:
>On Aug 13, 2008, at 9:42 AM, Stranathan, Dan wrote:
>>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)
>>
>> Any ideas on how to make AppleScript handle this location without complaints?
>
>A peculiarity of Finder scripting is that it won't let you refer to invisible items as "files" or "folders", but it will let you refer to them as "items":
>
> tell application "Finder" to open item "Volumes:support:.ckpt"
There is also the UNIX tool open which I use with a do shell script.
open -a Finder /Volumes/whatever/.somefolder
If the path points to a directory the -a Finder is not required but you can specify an application for other things.
--
--> A fair tax is one that you pay but I don't <--
_______________________________________________
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