• 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: email@hidden
  • Date: Wed, 28 Jun 2006 10:30:33 +0100

I thought there might be, so I dutifully went and dragged the dock.app into script editor only to get the "This application has no scripting dictionary" dialog.

Certainly the only way I've ever seen things added to the dock is by writing to the plist then killing it.

And if you do choose to go that way, don't do what microsoft did with the installer for MSN Messenger 5 and kill the dock even if you tell them not to install the dock item.

Caius
________________________

Caius Durling
UK resident

tel:		+ 447746746039
email:	email@hidden
web:		http://caius.name/
________________________


On 28 Jun 2006, at 02:44, Kevin Bradley wrote:

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

_______________________________________________ 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
References: 
 >Re: Add/remove from Dock? (From: Kevin Bradley <email@hidden>)

  • Prev by Date: Release Notes 1.10.7 (OS 10.4.7)?
  • Next by Date: running a script from a script
  • Previous by thread: Re: Automating/Scheduling Automator Actions
  • Next by thread: Suitcase Fusion-List all fonts not just those in sets
  • Index(es):
    • Date
    • Thread