Re: Is dock visable
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