DonationCoder.com Software > Post New Requests Here
IDEA: Send key or run app/function when window gets/loses focus or is hovered on
tmpusr:
There are no problems whatsoever with lowering priorities. Only if you RealTime something, things may get stuck(ish) - so that's never used.
Suspending and resuming processes is not dangerous either, you can try it with Process Explorer.
I use a script that sets all processes' priorities low, except for csrss.exe which is set high (only because lowering it made the interface sluggish). The System process may also benefit from not being lowered, but having it low makes copying and moving files impact system responsiveness less. The thing is to have Actual Booster keeping the foreground app at normal or raised priority.
I've used this for some years already. No problems, no blue screens.
MilesAhead:
Then I suggest you take up the task. It's one thing to set a couple of priorities. It's another to react to mouse movement over windows, dynamically juggling priorities, and all through a script sandbox. No thanks man. That's the type of stuff they pay system software engineers to do.
You can learn to program trial and error same as I. ahk is free for the download.
tmpusr:
With this you can have practically 100% CPU for the foreground app, when everything else gets suspended automatically, making it essentially a single-tasking system, though you can exclude apps that need to run in the background. To me this seems a very flexible, universal tool, like WinWarden, ProcessGuard, and MouseActivate, obviously worth coding.
This is far from deep system engineering no matter how you look at it. Setting priorities breaks nothing, and that's been done in some scripts already. That's not what this is about. What I'm suggesting is building an invisible frame over every window (only needed in case you're going to suspend them) and sending suspend command to the associated window, and when hovering again over that rectangle (under which the frozen window remains) sending resume. That's all.
Another application would be auto-resizing windows, switching between two windows sizes when hovering/not. It's just passing commands to windows based on mouse position. The thing is, it's almost done already. I know nothing of this stuff so I would have to teach myself the language, inspect code, and hang around forums asking questions and finally, if anyone bothered answering, they would most likely end up writing the code, not me.
Navigation
[0] Message Index
[*] Previous page
Go to full version