Jump to content
Macro Express Forums

Get Control/Set Focus


dougb1

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...