New
#21
I have done the above bat file to change the active power scheme because with some programs the pc would go into standby.
Essentially you can put any number of programs one under the other by copying the 3 lines in tasklist. If *any* of the programs is running it goes to : progon and with powercfg -setactive you select an "always on" power scheme. When none of the programs are running, it goes to : progoff and runs another powercfg -setactive which resets the balanced power scheme with standby timers etc.
You put it into a task and run it every 10 minutes with system privileges so nothing shows to the user, no cmd popups etc...
Now to the question in hand. I'm tired of FF going bust at some point and losing my tabs where there is unfinished work, things to read etc. I want to run a batch file that everytime FF closes to back up sessionstore.js in FF profiles.
The batch is ready, however I need to know when FF closes and after maybe 5 seconds run the batch file *only once* - that's why the above method doesn't work....
Anyways aparently there;s a FF plugin that does this; it's called session manager. I just installed it; am not sure whether it works or not...