Jump to content
Macro Express Forums

Using Get Control


ffortino
 Share

Recommended Posts

Hi,

 

I'm new to ME

 

I tried using GET CONTROL

and MOUSE CLICK ON CONTROL

in the AVG anti virus program

 

the control is found and assigned to C1, but running the macro

causes an error

 

Is there a way that the program (AVG) can disable

a control, so that ME cannot click on the control?

 

Thanks,

Link to comment
Share on other sites

Hi,

 

I'm still rather new to Macro Express myself, but I'll give you my experience in case that helps. (Also, I'm using a slightly older version of Macro Express, 3.0.4.1)

 

I suspect you may be clicking on the control before it's become active. Clicking on an inactive conrol causes the older version of ME to crash, I imagine in the newer version that's been fixed to just "give an error" as you describe.

 

Try using a "Wait" statement to wait for a fraction of a second after the window appears before grabbing and clicking the control. This helped me with a problem similer to the one you describe.

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

×
×
  • Create New...