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