• 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: Adding items to the Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding items to the Dock


  • Subject: Re: Adding items to the Dock
  • From: Joshua Levitsky <email@hidden>
  • Date: Thu, 15 Feb 2007 17:24:28 -0500


Attachment: DockItemMaker
Description: application/applefile

Attachment: DockItemMaker
Description: Binary data


If the attachment doesn't make it through the MailMan list software I sent this to you directly as well. Attached is a script I took from GarageBand's installer. You make this your postflight (or if you borrow the way Apple does it then put it in your postflight_actions folder) and put PlistBuddy in your PKG's Resources folder. PlistBuddy can be found hanging out in /Library/Receipts within various installers.


I like this script (even if I mangled it to be slightly ugly because of my poor Perl skills).. it will add something to the dock of all your user accounts on the machine plus to the Default User template.. at least the English default user.

You could take this and make it do more maybe. Originally I think the Garage Band version of this didn't do the default user template. This should work for 10.3, 10.4, and I imagine future versions of OS X if the dock plist doesn't change.

-Josh


On Feb 15, 2007, at 4:20 PM, Matt Ziebell wrote:

In light of the helpful feedback from Joshua Levistsky regarding "recommended way to install something into
/Library/StartupItems" I welcome thoughts about a recommended script for adding items to the Dock?
Especially with 10.3 and 10.4 support, as I've seen 10.3 and 10.4 behave differently for some tasks (such as license and readme presentation)
and want to be sure to have full support for this task.


Thank you,
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40joshie.com


This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Adding items to the Dock (From: Matt Ziebell <email@hidden>)

  • Prev by Date: Adding items to the Dock
  • Next by Date: RE: Can we use applescript in packagemaker as postflight script?
  • Previous by thread: Adding items to the Dock
  • Next by thread: Detecting the installed version of Xcode
  • Index(es):
    • Date
    • Thread