Floppy Posted April 16, 2015 Posted April 16, 2015 Hello, I want to click an object with specific coordinates inside a IE window. How can I pass coordinates to _IEAction click function? I tried using MouseClick("left", 70, 280) and it works, but I don't want to move the mouse cursor. On this forum I've found this piece of code $ie.document.elementFromPoint(70,280).click but it doesn't work. No click is sent. Can someone help me please?
MikahS Posted April 16, 2015 Posted April 16, 2015 Have a look at this thread: >link Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Floppy Posted April 16, 2015 Author Posted April 16, 2015 @MikahS: Thank you! The problem is that ControlClick doesn't work (like _IEAction click function) if IE window is hidden. Is there any workaround?
MikahS Posted April 16, 2015 Posted April 16, 2015 If it is hidden I don't think using coordinates is going to work, as it is coordinates on the screen, not in a minimized window. I could be wrong though, so I'll leave it to a more knowledgeable person to help. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Developers Jos Posted April 20, 2015 Developers Posted April 20, 2015 Maybe your question isn't clear enough. Just post some concrete info and some code what you have tried that doesn't work. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now