Sign in to follow this  
Followers 0
links2pinks

Help Clicking Button in Firefox

4 posts in this topic

I am trying to make a program using autoit that logins in to my hotmail account and sends an email. I can click the sign in button using FFclickxy using ff.au3. but this could change from computer and if i add a new toolbar in firefox etc. How can I make it click the button using the element name/id? I am trying controlclick as well but cant get it to work. Can someone help me with this. I would really appreciate it.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I am trying to make a program using autoit that logins in to my hotmail account and sends an email. I can click the sign in button using FFclickxy using ff.au3. but this could change from computer and if i add a new toolbar in firefox etc. How can I make it click the button using the element name/id? I am trying controlclick as well but cant get it to work. Can someone help me with this. I would really appreciate it.

Just use _FFClick.

_FFClickXY was a feature requests, but I think it's relative useless, all things can you do with the functions.

The coordinates doesn't change with toolbars etc. because 0,0 is the left,top coordinate from the document.

The function is based on the "getElementFromPoint" methode.

[EDIT]

For submitting forms use _FFFormSubmit.

If you have only one form on the page you just can write __FFFormSubmit()

Edited by Stilgar

Share this post


Link to post
Share on other sites

thanks a lot but is still not working, does anyone else have a solution?

_FFClick("idSIButton9", "id")

Share this post


Link to post
Share on other sites

thanks a lot but is still not working, does anyone else have a solution?

_FFClick("idSIButton9", "id")

Have you MozRepl installed? Is it running?

Do you have any error messages in the console from your editor?

Can you post them (all messages), please?

How looks the rest of your script?

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