Jump to content
Macro Express Forums

tobydobo

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by tobydobo

  1. Yea I think you are right about the quirks of the controls that Windows sees. I was able to create a workaround by inserting a wait for <window title> to appear before continuing...that did the trick. Now my next challenge:

     

    Which commands would I need to use to capture text from a field on a form and then have a specific macro run based on the text from that field? Im almost there, but cant quite figure out the combination. I know I will have to use the If Variable and assign the text to a T variable of some sort but from there I have no clue.

  2. Hello all,

     

    New to the forum but have been using Macro Express for a while. Never encountered a logic issue before and I just wanted to be sure Im entering the commands right. For some reason my macro continues regardless of If/End if statement.

     

    Here is what I have so far:

     

    Activate window: window name

    Get control %C1% (window control syntax)

    Wait for control %C1% to be come visible

     

    <all of the above works fine, but I need it to end there if the control does not become visible>

     

    <these commands should stop the macro if the control above is not visible, correct?>

    If not control %C1% visible

    End if

     

    <then if the control is visible, i want the following to run>

    Mouse double left click on control %C1%

    Delay 3 secs

    Macro Run: macro name

     

    any suggestions?

×
×
  • Create New...