dougb1 Posted October 19, 2010 Report Share Posted October 19, 2010 I have a simple macro that does the following: Activate Window "X" Get Control %C8% ("X") Set Focus to %C8% Text Type "some text<ENTER>" The Set Focus fails with the message: "The specified control, C8, could not be found". I used the Capture Window Control utility to get the control name/location. Why then can't the control be found? Thanks, Doug Quote Link to comment Share on other sites More sharing options...
acantor Posted October 20, 2010 Report Share Posted October 20, 2010 Two things to try: 1. Change the way you capture the control. If you are capturing text, uncheck the option. And vice versa. 2. Insert a short time delay before the Set Focus statement. 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.