DarkJedi Posted November 8, 2005 Report Share Posted November 8, 2005 Ok i have made a macro to paste some text, wait 20seconds and press enter then repeat. I think i set it up correctly so it runs in a specific window, but when i run the macro it doesnt run in that window, it runs in the window i have open. What i want it to do is run the macro, minimize the window it's supposed to be running in, so i can do other things. Help apreciated. -DarkJEdi Quote Link to comment Share on other sites More sharing options...
jowensii Posted November 8, 2005 Report Share Posted November 8, 2005 Try the ME Activate Window command then Text Type command. <ACTIVATE2:NAME OF YOUR WINDOW HERE> Activate Window: "NAME OF YOUR WINDOW HERE" Quote Link to comment Share on other sites More sharing options...
DarkJedi Posted November 8, 2005 Author Report Share Posted November 8, 2005 Hmm, well itried that. Maybe i wasnt clear enough. I want this macro to run in a specific window even if it is minimized. (Is this possible?) As it stands now it switches to the window types the text and finishes the macro, then it repeats itself over and over again. So i want it so it runs in the window even if it is minimized, so i can do other things while the macro will play in that window in the background. <REP3:01:000001:000001:99999:0:01:><TEXTTYPE:<ENTER>><TEXTTYPE: TEXT GOES HERE><DELAY:20><TEXTTYPE:<ENTER>|<ENDREP> Quote Link to comment Share on other sites More sharing options...
jowensii Posted November 8, 2005 Report Share Posted November 8, 2005 In almost all cases ME will only send keyboard commands to the active window. Some guys in forum have talked about it being possible if you are sending commands to a terminal service. Quote Link to comment Share on other sites More sharing options...
kevin Posted November 8, 2005 Report Share Posted November 8, 2005 Windows only accepts keystrokes and mouse events (clicks & moves) for the window that has focus. However, you may have success using the Windows Controls. For an sample macro that demonstrates this, open the samples.mex file (installed with Macro Express) and look at the macro titled 'Calc ulator and Note pad' (this is the correct name). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.