Re: getting a a hidden file
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