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

Re: Root User


  • Subject: Re: Root User
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 28 Mar 2014 07:26:17 -0500

On Mar 27, 2014, at 4:27 PM, Bryan Harris wrote:

PS - I’m just curious.  Are you using chflags to change whether something is hidden?  In other words I believe you can hid and unhide the Library with chflags nohidden ~/Library.  The same is true for disk volumes on my desktop, I just tested and it worked in my case anyway (but maybe it’s because I’m an admin user).

No. Just plain vanilla AppleScript like this ...

else if the result is "Show" then
tell application "System Events" to set visible of disk id diskID to true
end if



 _______________________________________________
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: 
 >Root User (From: Luther Fuller <email@hidden>)
 >Re: Root User (From: Luther Fuller <email@hidden>)
 >Re: Root User (From: Bryan Harris <email@hidden>)

  • Prev by Date: Re: Root User
  • Next by Date: Re: Root User
  • Previous by thread: Re: Root User
  • Next by thread: Re: Root User
  • Index(es):
    • Date
    • Thread