Re: List Folder Broken?
Re: List Folder Broken?
- Subject: Re: List Folder Broken?
- From: Dan Dittmann <email@hidden>
- Date: Sun, 9 Dec 2001 21:07:59 -0600
As suggested by Paul B. I tried running it "with invisibles and found
results similar to what Paul Berkowitz suggested.
"with invisibles" yielded the results below:
-->{".DS_Store", ".hidden", ".Trashes", ".vol", "Applications",
"automount", "bin", "cores", "Desktop DB", "Desktop DF", "Desktop
Folder", "dev", "Developer", "etc", "gmon.out", "Library", "mach",
"mach.sym", "mach_kernel", "Network", "private", "sbin", "System",
"TheVolumeSettingsFolder", "tmp", "Trash", "Users", "usr", "var",
"Volumes"}
while "without invisibles" yielded:
--> {".vol", "Applications", "automount", "cores", "Desktop Folder",
"dev", "Developer", "etc", "gmon.out", "Library", "mach", "mach.sym",
"mach_kernel", "System", "tmp", "Users", "var"}
Interesting to say the least.
On Sunday, December 9, 2001, at 08:45 PM, Paul Berkowitz wrote:
On 12/9/01 6:19 PM, "Dan Dittmann" <email@hidden> wrote:
This has been annoying me for at least the last half hour.
I am running Mac OS 10.1.1 and it would appear that the "list folder"
command in Standard Additions is/has been partially broken. In the
example below, invisible files are not supposed to be included in
variable "a". This is something I **thought** I had working correctly
under previous versions of OS X.
Now try it 'with invisibles'. I think you'll get a lot more of them. So
there now appear to be two types of invisible folders in OS X: invisible
folders that not invisible, and invisible folders that are invisible.
Evidently AppleScript, or the OS, has a different definition of
invisible to
"not visible on the screen". Interesting.
--
Paul Berkowitz
--------------------------------------------------------------
Dan: email@hidden
How often do you say to yourself, "I didn't do it; so of course, it
didn't get done?"