Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

findwindow help

Status
Not open for further replies.

sams570

Technical User
Jan 10, 2010
1
CA
I need to auto click a series of buttons in firefox for a form that I'm working on. I'm using delphi for it. I have it working, meaning I used findwindow and named the window name for the parameter and the mouse clicks where I want it to. Problem is that, it also moves the mouse outside the window. If firefox is onto the side and start the program it fills the forms and clicks as normal but the mouse is also moving outside the window..I don't want that to happen, how can I make mouse movements without actually making the mouse move?
 
Not sure but you might keep track of the 'current' mouse position before you do your mouse clicks and then restore it to that position after.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top