![]() Here are other application domains that seem to look for the same preference key (Outlook and OneNote seem to have their own additional “welcome” panes see Outlook’s FirstRunExperienceCompletedO15, for example): com.microsoft. Close Word, and verify that kSubUIAppCompletedFirstRunSetup1507 was also not set for the current user - the preferences system doesn’t set a key for the user until the application requests setting it (possibly only if it would differ from that set in the any-user scope, which it didn’t need to because the “first run” has already happened as far as Word is concerned. Launch Word again to verify you’re not getting a first-run dialog even though we deleted it from our user’s preferences. ➜ ~ sudo defaults write /Library/Preferences/ kSubUIAppCompletedFirstRunSetup1507 -bool true We can test whether this will just work as a system-wide default by deleting our user’s version and then setting it in the any-user “domain” (or “scope”): ➜ ~ defaults delete kSubUIAppCompletedFirstRunSetup1507 ![]() The interesting one is kSubUIAppCompletedFirstRunSetup1507, a boolean. ![]() I’ve omitted many keys that existed on my machine from Word 2011 (which all start with 14), but we can see there are several that are obviously for the latest version, given the SessionVersion value. OneNote for Mac is available for the first time and for free. Knowing that there are some preferences stored in an app’s container plist, notice how we can still “pick these up” by asking defaults for the prefs for the current user: ➜ ~ defaults read Do not use direct manipulation of plist files on disk to set preferences. We should follow the model of the developers: use either the defaults or CFPreferences methods provided by Apple (either from Python or C/Objective-C/Swift) to set this. Applications need not know or care where a preference actually gets stored, they simply ask the preferences system to handle reading and writing preferences. Storage location and format of capital-P OS X Preferences, however, is an internal implementation detail that developers aren’t really concerned with. Mac sysadmins also tend to get hung up on plists and their paths, when it comes to preferences stored by the OS. ~/Library/Containers//Data/Library/Preferences/ They happen to be sandboxed apps, so they actually end up getting stored inside a given application’s sandbox container. While this might be the case, it seems like Office stores the “first-run” settings as standard OS X preferences within each application’s preferences. Buy one licence for Microsoft Office Home and Student 2016 for £64.89 at Amazon. There has been recent grumbling online about Microsoft’s use of a registry-like format stored in an SQLite3 database for its user “registration” information, stored deep within a group container, and I’ve seen some assumptions that other preferences live here. You get the fully installed (perpetual) Office 2016 versions of Word, Excel, PowerPoint, and OneNote. Welcome dialog on first launch of Word 2016.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |