Reloading .GlobalPreferences

Joined
Feb 24, 2010
Messages
1
Reaction score
0
Points
1
In Snow Leopard, how can I force reloading of ~/Library/Preferences/ByHost/.GlobalPreferences[blah blah].plist without logging out/in?

For example, since System Preferences can't be scripted except by using AppleScript's slow and clumsy UI scripting, I often find it advantageous to alter things like Keyboard:Modifier keys by using PListBuddy and other unix tools to alter the plist file directly.

Unfortunately, .GlobalPreferences[blah blah].plist files are normally loaded only at logon, which obviates the whole point of changing them.

When changing applications prefs under the hood, quitting the app before doing so and then reopening it after the change does the trick. In the case of ~/Library/Preferences/ByHost/.GlobalPreferences..., however, I'm not clear what application is doing the work.

Thanks,
Bryan
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top