Re: Trouble with dock preferences of System Events
Re: Trouble with dock preferences of System Events
- Subject: Re: Trouble with dock preferences of System Events
- From: Brian Christmas <email@hidden>
- Date: Thu, 29 Oct 2009 20:51:14 +1100
On 29/10/2009, at 7:37 PM, Steven Audette wrote: Hello,
I can see in the System Events dictionary that "location" is one of dock preferences properties, so I try this code:
tell application "System Events" tell dock preferences set foo to location end tell end tell
This example always returns the constant "location", rather then the actual location {bottom, left, right}
If I instead try:
tell application "System Events" tell dock preferences set foo to location of properties end tell end tell
I get the error, "Can't make location of properties of dock preferences into type reference".
Any help is greatly appreciated.
Regards, Steve
G'day Steve
try this....
tell application "System Events" set p to properties set foo to screen edge of dock preferences of p 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