edevaney Posted January 25, 2014 Report Share Posted January 25, 2014 Greetings ME Pros! I am new to ME but it sure looks great. I have one key question that will make or break the product for me (do I buy or not): I am dealing with macros that function between two windows and the windows are not always the same name. I do not want to have to set the window names in each macro. I would like to set two global variables, once so that many macros can use them. I would be fine with reading from a file (if it is quick - time is of the essence in these macros because I am playing a game). Here is an example macro: Window Active: A Delay 0.1 second Text Type q Window Active: B Delay 0.1 second Text Type O Window Active: A If anyone has an example like this or even an example where variables are used in the setting focus I would greatly appreciate it. Thanks for your time. Ed Quote Link to comment Share on other sites More sharing options...
acantor Posted January 26, 2014 Report Share Posted January 26, 2014 What you are trying to do can be made to work, although you may find you need a longer delay after switching to a new window. As for populating the variables with window titles, Macro Express is fast enough to do it on the fly. Handle variables might be a better way, as handles differentiate windows with identical titles. Quote Link to comment Share on other sites More sharing options...
Cory Posted January 27, 2014 Report Share Posted January 27, 2014 Ed I prefer to keep small bits of text like that in the registry which is also very quick. I consider it more tidy than a bunch of INI files. 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.