I am looking for a way to programmaticly perform one or both of these functions for a sab install running on Windows 7.
1. Intercept the "On finish" command for hibernate so that I could run a bat file or my own exe when SAB tries to hibernate the system. I want to do some custom actions only when no downloads are active and no files are being acted upon.
Code: Select all
012-05-25 05:13:17,796::INFO::[postproc:619] Queue has finished, launching: <function system_hibernate at 0x017782F0> (None)
I am not sure where I could start to monitor for these events/states. Does anyone have any ideas on what I could key off of.
I should mention, I know absolutely nothing about python. In my skills arsenal, this could be a DOS,VBS,VB6(trying to avoid), VB.net(still learning) or autoIT solution.
Thanks.

