Jump to content
Sign in to follow this  
sambalec

FF.au3 with _FFClick function to active write zone of input text or textarea.

Recommended Posts

sambalec

Hello :D

How can I use _FFClick function to active write zone of input text or textarea ?

I tried this but any input is activate...

CODE
#include <FF.au3>

_FFStart("http://ff-au3-example.thorsten-willert.de/")

If _FFIsConnected() Then

; clicks on the third "a" tag

_FFClick('.forms[3].elements[2]')

Sleep(3000)

EndIf

Share this post


Link to post
Share on other sites
Stilgar

Hello,

you can't do this with _FFClick, this function only simulates a mouse-click on an element.

To give an element the focus you can e.g. do this:

_FFCmd('.forms[3].elements[2].focus()')

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.