Re: dock position
Re: dock position
- Subject: Re: dock position
- From: 2551 <email@hidden>
- Date: Mon, 27 Oct 2014 08:29:51 +0700
Ah, thank you Shane.
Yes, I'd been trying to play with the screen edge property, but couldn't figure out how to set it.
I didn't realise I needed to use "properties" in the plural; I was trying it in the singular and getting nowhere.
Now i have this toggle script:
tell application "System Events" tell dock preferences set x to screen edge as text if x is not "left" then set properties to {screen edge:left} else set properties to {screen edge:bottom} end if end tell end tell
Much nice and cleaner.
Thanks again. |
_______________________________________________
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