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: Add/remove from Dock?



On Jun 27, 2006, at 9:26 AM, Caius wrote:

Take a look at ~/Library/Preferences/com.apple.Dock.plist and the use
of the command line tool 'defaults' (man defaults for help.)

You also need to restart the dock after you've edited the .plist:

do shell script "killall Dock"

Hope thats a pointer in the right direction :)

Caius

You're kidding me. The only way to do this is to write to a plist? Good Grief! (picture of Charlie Brown with a hand to his head and a dark squiggle above him).


I guess I'll forget it then. I assumed (wrongly, apparently) that there was an AppleScript method of adding a program icon to the dock. Example: You install a new program and ask if the user wants to add it to the Dock.

Kevin
--
In my many years I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress.
John Adams


_______________________________________________
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

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.