Hi, i just beginning with this so please forgive me my ignorance!
Ok, i need some help with this: (in this) i want to add some like Documents to the dock. It's working as long as i use the following:
<dict> <key>_CFURLString</key> <string>/Users/Me/Documents</string> <key>_CFURLStringType</key> <integer>0</integer> </dict>
But it does not works properly when using (the VARIABLE $HOME or using ~):
<dict> <key>_CFURLString</key> <string>$HOME/Documents</string> <key>_CFURLStringType</key> <integer>0</integer> </dict>
Does this mean that you can't use VARIABLES?
(here's the complete "script")
defaults write com.apple.dock persistent-others -array-add ' <dict> <key>tile-data</key> <dict> <key>displayas</key> <integer>1</integer> <key>file-data</key> <dict> <key>_CFURLString</key> <string>$HOME/Documents</string> <key>_CFURLStringType</key> <integer>0</integer> </dict> <key>file-label</key> <string>Documents</string> <key>showas</key> <integer>2</integer> </dict> <key>tile-type</key> <string>directory-tile</string> </dict>'; Killall Dock