Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suitcase Script I made today, because Suitcase Pisses me off sometimes

Status
Not open for further replies.

ChokingMyTrap

Technical User
Oct 5, 2004
90
US
I made a little applescript today to make a backup of my Suitcase prefs and then another one to restore them. Sick of all the randomness Suticase does with lots of fonts..no previews, fonts not uninstalling, fonts not adding, fonts just doing weird things cuz the app gets retarded. So today I killed all my prefs and started from scratch, added in all my fonts got everything just how I like… then I made this and did a back up all the prefs, and then the restore starts every login.. and I can run it whenever Suitcase is being a bastard.. :p


--Backup Prefs Script--

try
do shell script "mkdir ~/Library/Preferences/Suitcase_Pref_Restore"
end try
try
do shell script " ditto --rsrc ~/Library/Preferences/Suitcase\\ Preferences ~/Library/Preferences/Suitcase_Pref_Restore"
end try

--End Backup Script--




--Rebuild Prefs Script--

try
do shell script " ditto --rsrc ~/Library/Preferences/Suitcase_Pref_Restore ~/Library/Preferences/Suitcase\\ Preferences"
end try

--End Rebuild Script--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top