# # Add Item to Dock tips # ======================== # Add items from a file to the dock # Depending upon the format of your file, you may need to alter this command slightly. # An example line from the input file : /Applications/System Preferences.app/ # Note : some characters in the path will cause issues. echo additemtodock `cat "$inputfile" | sed '/^$/d' | sed 's/^/"/' | sed 's/$/"/'` | bash # This technique works well with RADmind. You can manage symbolic links with radmind # and then add all these items to a input file. If the file file is available # it will be added to the dock. If the symbolic link is not available then the # item will not be added to the dock. # AppleScript to add items to your dock # The following is a link to an example AppleScript which will an item to your dock. # Such a script can easily be added your login items http://lucidsystems.org/download/utilities/additemtodock_example_applescript.zip # Login hooks to modify the dock at login # login hook which will execute a set of user login scripts : http://lucidsystems.org/download/utilities/sh-user-login.hook # login hook which will copy a default dock, then add items from a file or folder to the dock : http://lucidsystems.org/download/utilities/sh-setup-dock.hook # -- # Lucid Information Systems # http://www.lucidsystems.org