Sign in to follow this  
Followers 0
andynewbie

waiting for a text field to get focus

3 posts in this topic

I'm using AutoIT to generate systems performance (timers) data to a file.

I need to stop the timer when the cursor stops in a specific text box. You see,

after loading all the data onto the ASP form, the cursor is left at

the menu's text box for the user to enter his next command.

I want to use this "focus" step in the application to tell me how long it took to load

data on the screen.

Share this post


Link to post
Share on other sites



#include <IE.au3>

And then you need to use some _IE* functions trickery. I think that will require some quality time with SciTE and ConsoleWrite(...)

Happy Scripting..:)

Share this post


Link to post
Share on other sites

This actually sounds pretty easy and fun as well. You will need to use the onfocus event to trigger your timer. If you can provide some source I will see what I can come up with.

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