• 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: getting a a hidden file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting a a hidden file


  • Subject: Re: getting a a hidden file
  • From: Steve Thompson <email@hidden>
  • Date: Sat, 30 Oct 2010 02:40:03 +0100


On 29 Oct 2010, at 22:10, Jason Lantz wrote:

I need to "get" a hidden file, but I really don't want to go through the process of showing all files and restarting Finder.  I also need the script to be usable on multiple computers.  This is the statement I initially tried, but it isn't able to find the hidden file.

get file "library:application support:.syssettings12a239c8044f4" of the startup disk.

It depends on what you want to "get". Nathan's answer is correct but you might want

set x to a reference to file "Some:file:path"



I also don't want to make the user choose the file, but the choose file dialog does display hidden files.

set thefilepath to (choose file)

 Doesn't?

set theFilePath to choose file with invisibles
 _______________________________________________
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: 
 >getting a a hidden file (From: Jason Lantz <email@hidden>)

  • Prev by Date: Re: getting a a hidden file
  • Next by Date: Re: getting a a hidden file
  • Previous by thread: Re: getting a a hidden file
  • Next by thread: Re: getting a a hidden file
  • Index(es):
    • Date
    • Thread