Long story short, I have an .exe I wrote many years ago that I no longer have the code for. I want to run this exe as a screensaver.
However, it expects a key press of the ENTER key to start it. I have written batch files using nircmd to send the key, I have tried writing a separate application which is referenced by the batch file to send the key.
Whatever method I use works perfectly from the desktop, but when I try to run it from task scheduler "on idle" the key does not make it through. I have even compiled the batch file into an exe.
The original program is around 10,000 lines long so rewriting it is not an option at this point. I am just trying to understand why it will run from explorer and not task scheduler.
No comments:
Post a Comment