note: Open LibreOffice Options with its keyboard shortcut.

action:
import pyautogui, time
pyautogui.hotkey('alt','f12')
time.sleep(3)


note: Expand the Load/Save settings category.

action:
import pyautogui, time
pyautogui.click(575,580)
time.sleep(2)


note: Open the Load/Save subtree using its disclosure arrow.

action:
import pyautogui, time
pyautogui.click(519,579)
time.sleep(2)


note: Open Load/Save > General, where recovery auto-save is configured.

action:
import pyautogui, time
pyautogui.click(578,602)
time.sleep(3)


note: Enable AutoRecovery saving and change its interval from 10 minutes to 3 minutes.

action:
import pyautogui, time
pyautogui.click(827,398)
time.sleep(1)
pyautogui.click(1121,398)
pyautogui.hotkey('ctrl','a')
pyautogui.write('3')
time.sleep(2)


note: Commit the settings, then reopen Options to verify the persisted value before freezing.

action:
import pyautogui, time
pyautogui.click(1437,859)
time.sleep(3)
pyautogui.hotkey('alt','f12')
time.sleep(3)


note: Close the verified Options dialog without altering the persisted setting.

action:
import pyautogui, time
pyautogui.click(1421,858)
time.sleep(2)