Sign in to follow this  
Followers 0
wyzzard

IE focus detection

3 posts in this topic

Kind of a newb but I've gotten a few projects at work to go well enough (and one was having to interface with a program that's run via Citrix so none of the usual control commands worked in a lot of cases and is probably going to save the person using it three weeks+ of time per year so they were happy). I've been able to figure most things out so far but I've got a new problem and I haven't done a lot with the IE commands yet.

I'm trying to help a friend who lives in another state in automating some things she has to do through work. She has to use a lot of web-based intranet software and unfortunately she's not very programming savvy. What I'm trying to do is create two programs. One to learn what windows she uses and the fields she wants to automate which will then create an ini file to save these control names and then the actual automation program that will be able to interact with the fields based on the names found earlier.

I've seen where you can set the focus of IE controls etc and I know how to get the names of them but I haven't found a way to detect what control has focus currently. My hope was that I would have a script that tells her to for example "click the city input box" so it has focus and then have the script detect the object name and then prompt her to click the state field and repeat etc.

I've got most of the basics for everything else I needed but this is the last sticking point. Worse case I was going to have her send me the page source as viewed in IE and then pick it out by hand but was hoping for a program solution instead.

Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

youl be interested in this

or in something like this

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Those helped out immensely. Thank you very much.

Not sure why when I did my original search I didn't find them. Must have used the wrong search terms... :(

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