• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Finder to open a hidden . folder...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Scripting Finder to open a hidden . folder... (From: "Stranathan, Dan" <email@hidden>)
 >Re: Scripting Finder to open a hidden . folder... (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Scripting Finder to open a hidden . folder...
  • Next by Date: create timecode track in Quicktime?
  • Previous by thread: Re: Scripting Finder to open a hidden . folder...
  • Next by thread: create timecode track in Quicktime?
  • Index(es):
    • Date
    • Thread