Jump to content

Click an object with specific coordinates inside a IE window


Recommended Posts

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?

 

Link to comment
Share on other sites

Have a look at this thread: >link

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My 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

 

Link to comment
Share on other sites

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 ~ getENVvars
My 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

 

Link to comment
Share on other sites

  • Developers

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.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...