Hacker wrote: ↑2016-06-13, 14:21 UTC
avada,
That'd be cool. Isn't there a trick to call that function periodically?
This AHK script should tell TC to save its settings every 10 minutes (600000 ms):
Code: Select all
#Persistent
#NoEnv
SetTimer, SaveTcSettings, 600000
Return
SaveTcSettings:
PostMessage, 1075, 580, , , ahk_class TTOTAL_CMD
Return
HTH
Roman
Speaking from the future, I thought I'd try implementing this for my interest and for that of others.
I have AutoHotkey installed. That should be self-r'searchable.
To get this code running I chose 'SELECT ALL' and copied the code, then in plain Notepad pasted it and saved it as TCAutoSave.ahk - that avoided Notepad's wish to save it as a .txt file, putting it in "D:\Users\Public\Downloads\Applets\".
AutoHotkey.exe itself sits in the "D:\Users\Public\Downloads\Applets\AutoHotKey\" folder (I don't operate as an administrator). Having run it previously and having any file with the .ahk suffix 'captured' by the association of them to AutoHotkey, I double-clicked on TCAutoSave.ahk to execute it. The background green 'H' symbol of AutoHotkey appeared over in the Notification Area.
TCAutoSave is running now behind this window, every 10 minutes, turning my TC item on my Taskbar orange (saying that a background execution event occurred); curious, but inoffensive. Just why it's running, I can't quite see, there being no obvious, to me, pointers to TC itself in the code. TC's current .ini IS being saved, so it must be operating.
FWIW, long ago I implemented a Button Bar button for the internal cm_ConfigSaveSettings command using the '=' equals sign as its icon, signifying 'make saved settings equal to the current settings'. It does the same thing as Alt, Configuration, Save settings. I use it in the same way I used to instruct spreadsheet users: save after every thought. Every change of settings, in this case. I don't save tabs, preferring to start TC with my fixed set. I do the opposite with browsers, saving my last session.
It would be a simple operation to assign a Button Bar button to this .ahk script, as an alternative.
HTH
[I saved this text progressively in Spartan Standard (free) clipboard during composition.]