- Local time
- 11:05 PM
- Messages
- 40
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...
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...
My Computer
- Computer Manufacturer/Model Number
- EVGA 780i (132-CK-NF78-A2)
- OS
- Win7 x64
- CPU
- E6750 [email protected] OC
- Motherboard
- EVGA 780i (132-CK-NF78-A2)
- Memory
- 6GB Crucial Balistix 800
- Graphics Card(s)
- 2 X GTX460 SLI OC@849,2000
- Sound Card
- Audigy 2 (Creative is evil)
- Monitor(s) Displays
- 65" Sony TV
- Screen Resolution
- 1920X1080
- Hard Drives
- 3X150 raptors @ Raid0
- PSU
- Corsair 850