Saturday, 15 February 2014

cmd - reinitiating an exe program -


I have a script. The XE program that works on multiple files in one directory and saves the output of each file to a different directory. This program shows a small error message on the screen (due to the lack of a helpful file, and which can not be fixed) to remove the error after each file processes and start the process again (tab + Enter) and then press (Ctrl + R), but I have thousands of input files, I have to do it several times.

I'm thinking that whenever the program shows an error message, there is a way to insert those keys ...

thanks < P>

The macro utility can be used to automate the keystroke; you can target the exact window you need, eg Title or content or window handle properties such as class name, it is also open source and popular for a long time because it starts with excellent documentation and many examples of scripts.

You can do this with any language with Win32 API bindings, like Perl, Python, or Ruby, but it will be working at the lower level, and many specifications of that old API You will need to be familiar with. If you go that route, then many features may be useful (e.g.), which exposes window properties some of AutoHotkey has been created in your window inspector.

No comments:

Post a Comment