I thought about programming helpful macros for windows, well actually I only had one idea till now, that is writing a function that minimizes all windows and shows the desktop. It's necessary because windows key+D is broken if a program is in fullscreen or uses d3d, then the desktop is not clickable after windows key+D.
But how would I implement this?
I don't like having many processes, especially not a process that only does one function.
As far as I know there is:
* Creating a service - is it possible to add a service for these macros to run with all the other services in svchost.exe?
* Code Injection on the fly into a process that is always active like winlogon.exe - I think it's too unstable from my previous experiences.
* Code Injection directly into the executable of a process that is always active - Needs advanced assembling and reverse engineering skills... but is it also stable?
* Dll Injection on the fly - also unstable from my experiences.
* Dll Merge with the executable of an always active process - never tried something like this. The dll contains the macro function, but it can't be called without any kind of code injection, right?
* Proxy Dll - This will work for sure without problems if I put the proxy dll in the executable's folder, right? At least I thought programs will look for resources like dlls first in its own folder and only afterwards using the PATH environment variable.
That's it from my knowledge.
I'm tending towards using a proxy dll, but maybe somebody knows a better method of short code execution without an executable.