• 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: Is dock visable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is dock visable


  • Subject: Re: Is dock visable
  • From: Robert Poland <email@hidden>
  • Date: Sat, 10 Dec 2011 14:41:55 -0700

Found it;

set currentDockHiddenState to (do shell script "defaults read com.apple.Dock autohide") -- 1 equals hidden


On Dec 10, 2011, at 10:41 AM, Robert Poland wrote:

Hi,

I would like to be able to tell if the Dock is/is not visible.

The best example I have found so far is;

tell application "System Events"
tell dock preferences
get properties
--> returns: {minimize effect:genie, springing delay:1.0, dock size:0.428571432829, magnification:false, springing:false, location:bottom, class:dock preferences object, magnification size:1.0, animate:true, autohide:false}
set properties to {minimize effect:scale, location:right, autohide:true, magnification:false, magnification size:0.5, dock size:1.0}
end tell
end tell

But the only item I see is Autohide and that doesn't seem to do the job.


Robert Poland - Fort Collins, CO
Robert Poland - Fort Collins, CO



 _______________________________________________
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: Is dock visible
      • From: Michelle Steiner <email@hidden>
References: 
 >Is dock visable (From: Robert Poland <email@hidden>)

  • Prev by Date: Is dock visable
  • Next by Date: Closing Safari Tab...
  • Previous by thread: Is dock visable
  • Next by thread: Re: Is dock visible
  • Index(es):
    • Date
    • Thread