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



Thank you for your replies. Still need additional help though.


activate application "Dock" tell application "System Events" tell process "Dock" get position of list 1 end tell end tell


This one gives me: NSReceiverEvaluationScriptError:4

>
 set dockPosition to do shell script "defaults read com.apple.dock
 orientation"



Hello

I ran it under 10.4.8 and got this report:

tell current application
	do shell script "defaults read com.apple.dock orientation"
		"2007-01-12 10:42:38.293 defaults[514]
The domain/default pair of (com.apple.dock, orientation) does not exist"


I got the same error, also under 10.4.8.

Regards

Per Sjöstrand

_______________________________________________
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.