• 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: Add/remove from Dock?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add/remove from Dock?


  • Subject: Re: Add/remove from Dock?
  • From: Kevin Bradley <email@hidden>
  • Date: Tue, 27 Jun 2006 20:44:31 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Add/remove from Dock?
      • From: email@hidden
    • Automating/Scheduling Automator Actions
      • From: Ramona Rock <email@hidden>
  • Prev by Date: Bundles...
  • Next by Date: Linked Mask Layers In Photoshop CS2
  • Previous by thread: Re: Add/Remove from Dock?
  • Next by thread: Automating/Scheduling Automator Actions
  • Index(es):
    • Date
    • Thread