• 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: as alias bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: as alias bug? (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: as alias bug?
  • Next by Date: Re: as alias bug?
  • Previous by thread: Re: as alias bug?
  • Next by thread: Re: as alias bug?
  • Index(es):
    • Date
    • Thread