Sign in to follow this  
Followers 0
syundiers

Clicking a html button

3 posts in this topic

Hi all,

I downloaded the autoIT beta version and am using the IE.au3 include. The one thing ive not been able to do is to click a html button, I am trying to auto populate an upload file field but the browser security is preventing this, so my plan was to auto click the "browse" html button and go from there, but so far had no joy!

Can anybody give me a push in the right direction?

Thanks

Share this post


Link to post
Share on other sites



Give me an example html source code and i will push you in the right direction.

Basically you should use IENavigate or IECreate and then one of the functions like IEGetObjByName to get the desired object and then maybe IEAction to click on it.

Share this post


Link to post
Share on other sites

Give me an example html source code and i will push you in the right direction.

Basically you should use IENavigate or IECreate and then one of the functions like IEGetObjByName to get the desired object and then maybe IEAction to click on it.

Hi, thanks for the reply.

i have managed to suss it (using the search button!)

_IEAction($oButton, "click")

is what i needed after using the IEGetObByNane function like you said.

Many thanks

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
Sign in to follow this  
Followers 0