| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
on 2007-01-12 10:21 AM, Per Sjstrand at email@hidden wrote:
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
I should have mentioned that for GUI Scripting you must turn on the "Enable GUI Scripting" setting in AppleScript Utility, located in the AppleScript subfolder of your Applications folder.
You might also have to change the first line (but not the third line) to refer to "Dock.app".
Now it works fine, thank you!
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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.