Sign in to follow this  
Followers 0
fmen

Edit Field Blinking Cursor

4 posts in this topic

In Firefox or other browsers or applications, edit fields have a distinctive blinking cursor. This is different from the mouse cursor.

Does AutoIt have a means of localizing the edit cursor similarly to MouseGetCursor(). as in:

Do
              Sleep(1000)
            Until MouseGetCursor()= 2

What I'd like to do is wait for a firefox page to load based on the appearance of the blinking cursor in the username edit field. Once the blinking cursor appears, I can then

Send("username")

A point in the right direction would be appreciated. Thanks

Share this post


Link to post
Share on other sites



You can use FF.au3, it's a more directed way.

Share this post


Link to post
Share on other sites

Thanks for the quick reply....

I am peripherally aware of FF.au3 and even tried using it a while back. Unfortunately, it is way beyond my meager abilities to make much sense of it. Furthermore, it would be great if there were a way of doing the above in other applications such as Opera, or Chrome etc where FF.au3 would not be effective.

Share this post


Link to post
Share on other sites

Heh, and what about IE.au3? It's certainly not commonplace to find Window OS that doesn't contain IE. Anyway, the usual internet browsers don't use input boxes using the standard edit control.

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