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

Re: dock position


  • Subject: Re: dock position
  • From: 2551 <email@hidden>
  • Date: Mon, 27 Oct 2014 13:34:44 +0700

My final version of this, now rotating through all three positions, works lovely with a hotkey :)

Thanks for the help!


tell application "System Events"
tell dock preferences
set x to screen edge
if x is left then
set properties to {screen edge:bottom}


else if x is bottom then
set properties to {screen edge:right}
else
set properties to {screen edge:left}


end if
end tell
end tell
 _______________________________________________
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: 
 >dock position (From: 2551 <email@hidden>)
 >Re: dock position (From: Shane Stanley <email@hidden>)
 >Re: dock position (From: 2551 <email@hidden>)
 >Re: dock position (From: Shane Stanley <email@hidden>)
 >Re: dock position (From: 2551 <email@hidden>)

  • Prev by Date: Re: click using option down button 2 of window 1
  • Next by Date: Re: click using option down button 2 of window 1
  • Previous by thread: Re: dock position
  • Next by thread: With Yosemite, can no longer get selected text of Google Chrome page
  • Index(es):
    • Date
    • Thread