Home › Forums › Software › InstaDMG › Can the addition of Connect to Server ‘shortcuts’ be scripted?
- This topic has 6 replies, 3 voices, and was last updated 17 years, 6 months ago by
Rusty Myers.
-
AuthorPosts
-
April 15, 2009 at 9:21 pm #376001
mgb123
ParticipantI have client machines that need to have a number of servers added to their Connect to Server list. Is it possible to script entries into that menu?
April 15, 2009 at 9:28 pm #376002mgb123
ParticipantI’ve found the actual shortcuts in the ~/Library/Favorites/ directory. Is it possible to simply package that and run the package on client machines? Not to sound stupid, but everything that I’ve done involved making system wide packages rather than user specific packages.
Does anyone have any ideas on the best way to implement something like this?
My main concern is that if I package the shortcut that it might insert my username automagically and mess with single sign on.
April 16, 2009 at 2:45 am #376004Rusty Myers
ParticipantYou can install it into the UserTemplate directory so that when a new user is created, it will already be in the new user’s home folder.
/System/Library/UserTemplate/English.lproj/Library/Favorites/
Or create a script to copy it to the home folder.
RustyApril 16, 2009 at 2:08 pm #376007mgb123
ParticipantDammit Rusty, you’re my hero!
😛 😮
April 16, 2009 at 3:33 pm #376008mgb123
ParticipantRusty, I’m creating a snapshot pgk of those files in the user template.
What do you think-will it work if I include it in my InstaDMG build?
Place your bets now…
April 22, 2009 at 3:56 am #376034Patrick Fergus
ParticipantPutting things in ~/ can be a bit inflexible, especially if you can’t address a user’s ~/Library/Favorites folder easily (the User Template is only copied the first time a user logs in–what if you ever want to make changes?). Depending on your facility, if you can push files/pkgs to computers post-build you may want to consider using a folder that isn’t located in the user’s home to contain all your network favorites. For bonus points, put that folder in the Dock via MCX. It’ll require some user reeducation, but it might be more useful if your situation allows it.
However, if you can push files/pkgs to computers, you probably can figure out how to get the files into every user’s home. Just providing an alternate option.
– Patrick
April 22, 2009 at 3:31 pm #376039Rusty Myers
ParticipantPuppet may help to maintain the correct favorites.
http://reductivelabs.com/ -
AuthorPosts
- You must be logged in to reply to this topic.