I have a simple copy and paste macro that copies test from one application into a %T[1]% and %T[2]% variable ad then pastes this text into another application.
When I runf the macro with the HotKey it does not activate the notepad window
When I use the Test Run (debug) button the macro works fine.
I have included a Wait for Window Title line but still the macro does not work.
Any ideas?
Here is the macro:
Window Activate: wordpad
Wait for Window Title: wordpad
Text Type (Simulate Keystrokes): <SHIFT><END>
Clipboard Copy
Delay: .5 seconds
Variable Set String %T[1]% from the clipboard contents
Text Type (Simulate Keystrokes): <HOME>
Text Type (Simulate Keystrokes): <DOWN ARROW>
Text Type (Simulate Keystrokes): <CTRL><SHIFT><DOWN ARROW>
Clipboard Copy
Delay: .5 seconds
Variable Set String %T[2]% from the clipboard contents
Text Type (Simulate Keystrokes): <HOME>
Text Type (Simulate Keystrokes): <CTRL><SHIFT><DOWN ARROW>
Window Activation Works in Test Run but not HotKey
in Macro Express and Macro Express Pro
Posted
I have a simple copy and paste macro that copies test from one application into a %T[1]% and %T[2]% variable ad then pastes this text into another application.
When I runf the macro with the HotKey it does not activate the notepad window
When I use the Test Run (debug) button the macro works fine.
I have included a Wait for Window Title line but still the macro does not work.
Any ideas?
Here is the macro: