Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BobRon

macrumors member
Original poster
Oct 13, 2012
34
7
Hi,
I have an app that when run, it takes an app from a certain file path that is denoted by a variable "pathOfFile" and adds it to the dock. I found this that works quite well, but it adds it to the default new user dock. I want it to add it to one user's dock. Is this possible? I don't care if it is BASH or (preferably)AppleScript.
Thanks,
Bob
 

SomeWhores

macrumors newbie
May 11, 2011
19
1
Just modify the path of the code you linked to

just write to

Code:
/Users/herpderp/Library/Preferences/com.apple.dock.plist
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.