Re: Dock position and size
- Subject: Re: Dock position and size
- From: Luther Fuller <email@hidden>
- Date: Fri, 12 Jan 2007 08:12:16 -0600
- Delivered-to: email@hidden
- Delivered-to: email@hidden
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
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.