hello
I did few month a try to modify autsave interval in the office. Here is a script which I test it in office 2016. The script is not finish. It was just a test:
Be carefull when you try to modify in a database. Normally isn't support by developer.
Best Regrads,
#!/bin/bash
####
# sqlite3 script to change the default OpenSaveLocally from false (0) to true (1).
# By Tim Arnold
# 10/13/15
####
#Gather Information
loggedInUser=$(id -un)
path="/Users/$loggedInUser/Library/Group Containers/UBF8T346G9.Office/MicrosoftRegistrationDB.reg"
#Read value of current key
currentKey=$(echo 'SELECT * FROM HKEY_CURRENT_USER_values WHERE name="AutosaveInterval";'| sqlite3 "$path")
currentKey=$(echo 'SELECT * FROM HKEY_CURRENT_USER_values WHERE name="Ruler";'| sqlite3 "$path")
currentKey=$(echo 'SELECT * FROM HKEY_CURRENT_USER_values WHERE name="VerticalRuler";'| sqlite3 "$path")
currentKey=$(echo 'SELECT * FROM HKEY_CURRENT_USER_values WHERE name="RightRuler";'| sqlite3 "$path")
currentKey=$(echo 'SELECT * FROM HKEY_CURRENT_USER_values WHERE name IS "Ribbon Hide Group Titles";'| sqlite3 "$path")
echo "CurrentKey is $currentKey"
#Update or insert key as needed
#if [ "$currentKey" = "" ]; then
#echo "No Key Present. Setting."
#echo 'INSERT INTO HKEY_CURRENT_USER_values VALUES("AutosaveInterval",4,1);' | sqlite3 "$path"
#elif [ $currentKey = "366|AutosaveInterval|4|1" ]; then
#echo "Auto Save Time"
echo 'UPDATE HKEY_CURRENT_USER_values SET value='13' WHERE name="AutosaveInterval";' | sqlite3 "$path"
echo 'UPDATE HKEY_CURRENT_USER_values SET value='1' WHERE name="Ruler";' | sqlite3 "$path"
echo 'UPDATE HKEY_CURRENT_USER_values SET value='1' WHERE name="VerticalRuler";' | sqlite3 "$path"
echo 'UPDATE HKEY_CURRENT_USER_values SET value='1' WHERE name="RightRuler";' | sqlite3 "$path"
echo 'UPDATE HKEY_CURRENT_USER_values SET value='0' WHERE node_id="366" AND name="Ribbon Hide Group Titles";'' | sqlite3 "$path"
echo 'INSERT INTO HKEY_CURRENT_USER_values SET node_id="366" AND name="Ruler" AND type="4" AND value='1';' | sqlite3 "$path"
echo 'INSERT INTO HKEY_CURRENT_USER_values VALUES(366,"Ruler",4,1);' | sqlite3 "$path"
elif [ $currentKey = "AutosaveInterval|4|1" ]; then
echo "Key Present. Key is set to Save Locally."
fi
exit -0
@tim.c.arnold thanks for inspiration in this thread
This has been raised as an issue again, this time with Adobe Premiere. Is there any way either with a configuration profile or a script or something for us to ensure Autosave is enabled for all users for Adobe Premiere?