How Can We Help?
< All Topics

Work in one window while macro runs in another

Normally Windows only accepts keyboard and mouse input for the Window that has focus. Once you switch program windows, information sent by Macro Express Pro is sent to that window.

You may try to use Window Controls to send information to a program that does not have focus. When Macro Express Pro is installed the samples.mex file is installed in the folder where the program files are located. By default this is c:\Program Files\Macro Express Pro. Copy samples.mex from that folder and paste it into the folder containing your macro files. Then, load samples.mex into Macro Express Pro. Look for the macro titled ‘Calc ulator and Note pad’. This macro demonstrates how to use the Window Controls to send information to a program that does not have focus.

Window Controls are not available in all applications. This is due to how the application itself is written, not due to Macro Express Pro itself. If you are unable to use the Window Controls technique with your application you should consider using a Virtual Machine.

When you install VM software you are installing a copy of Windows that runs within your existing Windows environment. It works the same as having two separate computers. There are several VM options available. VMWare Player by VMWare, Virtual PC by Microsoft and VirtualBox by Sun (now part of Oracle). All are free.

– Applies to: Macro Express 3 and Macro Express Pro