Linda Posted July 19, 2004 Report Share Posted July 19, 2004 We're still using MacroEpress 22.214.171.124, and that's outside my power to change in the near future. The "Control" comands in ME assume statically allocated controls- that the ID the control has with a test-run will always be it's ID. But the primary peice of enterprise software that I'm writing macros for has dynamically allocated controls- the ID number for the control changes each time the application is run. Lacking a static ID , I've been finding controls by tabbing between them and checking the control text to see if its what I'm looking for:blink: There has to be a more elegant (and somewhat faster!) method to deal with dynamically allocated controls. Has anyone else found it? EDIT: Aside from the inherent awkwardness of the text-checking method, If I grab a null control (such as the in-focus control when there is no focus, or a control that no longer exists) MacroExpress crashes- doesn't just give me an error and stop the running macro, but actually crashes , complicating debugging. Is there a better way that I'm overlooking? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.