• 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: Cloaking Device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cloaking Device


  • Subject: Re: Cloaking Device
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 05 Jul 2011 10:56:09 -0500

On Jul 5, 2011, at 8:57 AM, Deivy Petrescu wrote:

Can you check the .DS_Store file for the desktop.
I believe there lies the problem, something cached that the finder has to display.

I rewrote the script and solved the problem with "client node" by telling the Finder to quit; delay; activate.
I was thinking I might want to add this utility to my catalog of utilities, but decided against it when I discovered yet another problem ...

The Finder's Sidebar and Computer window do not recognize mounted disks which are invisible; and Disk Utility is confusing and difficult to explain. Unless you know about "Eject All" you will probably turn-off an external disk with an invisible disk still mounted.

Another question:
I get a list of items for 'choose from list ...' with this ...

tell application "System Events"
set diskList to disks whose visible is true and startup is false
set idList to {}
repeat with i from 1 to (count items of diskList)
set idList to (idList & {id of item i of diskList})
end repeat
end tell

where id of item i of diskList is text like this: "Work_Files,-101,2"
Clearly this contains the disk name, but what is -101 and 2 ?
I would expect the id of a disk to be just a number.

If anyone has a desire to make disk icons invisible, I'll post the script.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Cloaking Device
      • From: Joshua Whalen <email@hidden>
References: 
 >Cloaking Device (From: Luther Fuller <email@hidden>)
 >Re: Cloaking Device (From: "Mark J. Reed" <email@hidden>)
 >Re: Cloaking Device (From: Luther Fuller <email@hidden>)
 >Re: Cloaking Device (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Cloaking Device
  • Next by Date: Re: Cloaking Device
  • Previous by thread: Re: Cloaking Device
  • Next by thread: Re: Cloaking Device
  • Index(es):
    • Date
    • Thread