Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock position and size




On Jan 12, 2007, at 7:49 AM, KOENIG Yvan wrote:
OK, so a correct script would be:

try
set dockPosition to do shell script "defaults read com.apple.dock orientation"
on error
set dockPosition to "bottom"
end try

If all you want to do is read the current orientation, then YES.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Dock position and size (From: Barry Wainwright <email@hidden>)
 >Re: Dock position and size (From: KOENIG Yvan <email@hidden>)
 >Re: Dock position and size (From: Luther Fuller <email@hidden>)
 >Re: Dock position and size (From: KOENIG Yvan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.