Jump to content

Recommended Posts

Posted
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?

 

Posted

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

 

Posted

@MikahS: Thank you! The problem is that ControlClick doesn't work (like _IEAction click function) if IE window is hidden. Is there any workaround?

Posted

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

 

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
  • Recently Browsing   0 members

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