• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dock position and size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock position and size


  • Subject: Re: Dock position and size
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 12 Jan 2007 14:37:09 -0500
  • Thread-topic: Dock position and size

on 2007-01-12 10:21 AM, Per Sjöstrand 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".

--

PLEASE NOTE MY NEW E-MAIL ADDRESS:
Bill Cheeseman - email@hidden


 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Dock position and size (From: Per Sjöstrand <email@hidden>)

  • Prev by Date: once more, with iPhone: HTML mail source
  • Next by Date: Changing CAPITAL to Upper And Lower Case
  • Previous by thread: Re: Dock position and size
  • Next by thread: Re: Dock position and size
  • Index(es):
    • Date
    • Thread