stevecasper Posted May 1, 2009 Report Share Posted May 1, 2009 I haven't used controls in ME very often (mostly because so few applications support them), but I have an app that does, and I am looking to reduce the number of commands in a particular set of macros I'm modifying. Right now it looks something like this: Get Control %SerialNumber% Mouse click on Control %SerialNumber% Clipboard Copy Set Text Variable %Serial% from Clipboard I would like it to look more like this: Get Control %SerialNumber% Set Text Variable %Serial% from contents of Control %SerialNumber% For some reason I seem to remember this (or something like this) as possible, but I can't seem to put my finger on it. Any help, clarification, or even disappointing revelation that I am mistaken would be appreciated. Quote Link to comment Share on other sites More sharing options...
stan Posted May 1, 2009 Report Share Posted May 1, 2009 You can use the Get Control Text command. It saves the text from a control variable into a text string variable. Get Control Text from %SerialNumber% into %Serial% Quote Link to comment Share on other sites More sharing options...
stevecasper Posted May 1, 2009 Author Report Share Posted May 1, 2009 You can use the Get Control Text command. It saves the text from a control variable into a text string variable. Get Control Text from %SerialNumber% into %Serial% Aha! Thanks Kevin. I was looking under Controls and under Set Variables, I just needed to be more thorough in my Variables category search. Thanks a bunch! 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.