Loop script until button appears, click on button to end

1 post in this topic

Hi all and compliments for the forum!

Can you help with a script?

I need run the script (mouseclicks left) until button "Try it" appears, when button appears the script clicks it and loop end. It is on a page's website, no software, Windows etc.


I have this:


HotKeySet("^e", "MyExit")

While 1

Func MyExit()


I have to know the id / class etc of the button? Or need just the word "Try it"?


Start loop

Click 1

Click 2

--> no button appeared

Click 1

Click 2

--> button with text Try it appeared! 

Click on "Try it" button (with script, not me)

End loop


Thank you very much in advance.

(Sorry for my English) 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now