Jump to content
Macro Express Forums

Problem With Controls


cyberchief

Recommended Posts

I am working in a program that will open up windows within the main window. It is an order application that we use. The main window's title, ORION, can be found and set to a variable. However, the windows that open up within it cannot. So I have been trying to use the Control functions. With the window within the window open, I use "Get Control"... Macro Express IS finding the controls that way... See pic below. But no coding works with it... Not for "Wait for Control Visable", "Got Focus", etc. It just won't find it. I am basically just trying to use these to set delays... When getting an order.. it can take anywhere from 30 Seconds to 15 Minutes. I can't hard-code the delay in there... I need to be able to use the windows or Controls. Any ideas?

post-2-1148053477_thumb.jpg

Link to comment
Share on other sites

My first suggestion is to try getting the control a different way. The 'Get Control Using Text' option works better for some controls and not others.

 

But, some applications change the controls every time the application runs. The only way to make that work is to Capture the control while the macro is running. You would need to find the position on the screen and use the Capture Control command.

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...