Re: as alias bug?
Re: as alias bug?
- Subject: Re: as alias bug?
- From: Luther Fuller <email@hidden>
- Date: Wed, 28 May 2008 14:48:10 -0500
On May 28, 2008, at 1:37 PM, Stockly, Ed wrote:
How is it /dev is invisible and reports false but net is invisible
and
reports true?
I seem to remember a while back someone (maybe an applescriptchris)
mentioning on this list that visible/invisible is a Mac OS thing but
Darwin
has it's own way of not showing files/folders.
In other words, a file that can't be seen may not have the invisible
flag,
and just because appleScript reports it's visible doesn't mean it
can be
seen.
You may want to search the archives for invisible.
I have two disks which became invisible last week. They were mounted,
just not visible at startup. Naturally, I wrote an AppleScript to
correct the problem. Here's what I used ...
do shell script "chflags nohidden /Volumes/Files_previous"
tell application "System Events" to set visible of disk "Work_Files"
to true
tell application "Finder" to quit
delay 1
tell application "Finder" to activate
Notice that I had to use different commands for each invisible disk.
'chflags' will not work for "Work_Files" and 'set visible' will not
work for "Files_previous". I don't know why? Both of these disks have
a permissions problem in 10.5.2 and I suspect that is the cause of the
problem. I just installed 10.5.3 and one of the disks now appears on
the desktop at startup. Are there any other commands that change
visibility?
_______________________________________________
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