Jump to content
Macro Express Forums

New To Macros


Spiro

Recommended Posts

Hello,

 

I have never used macros before and I recently come to realize thier potential for making my life easier both at the office and at home. I would like to know if it is possible to work in one application window, while a macro is working in another application window in the background. If someone could give me an idea as to how this can be achieved I would certainly appreciate it.

 

Thanx

Spiro

Link to comment
Share on other sites

Normally, no. Windows sends all keystrokes and mouse movements/clicks to the application that has "focus."

 

However, if you avoid certain types of macro commands, you can send macros to certain applications that do not have focus. For example, you may be able to use Window Controls to send mouse clicks, text type information and get the contents of input fields.

 

The attached macro uses notepad and calculator to demonstrate how this could work. Calculator is launched and hidden. Notepad uses calculator to add some numbers together and display the result.

calc_notepad.mex

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...