Jump to content
Sign in to follow this  
Au3Builder

Internet Explorer -double click

Recommended Posts

I meant normal double click, 

my scheme

IEGetObjById

_ie action(click)

but it clicks once (and I want two clicks)

 

Do u know any alternative to $oElement.fireEvent("ondblclick")

because doesn't work for me

Edited by Au3Builder

Share this post


Link to post
Share on other sites

What is the control you're trying to doubleclick (not much in IE needs a doubleclick, that I can think of). Again, you're not providing a wealth of information. How about a working reproducer script to show the issues you're encountering?

Share this post


Link to post
Share on other sites

here's the task for tough guys only (2x click on the button using ie library)   :x

I prepared the website with the little hint below (for those who don't know that this button can  be clicked by tagname only)  ...so you can make attempts as many times as you wish and post your solution here  :rambo:

#include <MsgBoxConstants.au3>
 
#include<ie.au3>
 
 
 
Local $oElements = _IETagNameAllGetCollection($dbl)
For $oElement In $oElements
   ; If $oElement.id Then MsgBox($MB_SYSTEMMODAL, "Element Info", "Tagname: " & $oElement.tagname & @CRLF & "id: " & $oElement.id & @CRLF & "innerText: " & $oElement.innerText)
If $oElement.tagname = "button"   then _IEAction($oElement,'disable')
Next
 
 

 

 

Edited by Au3Builder

Share this post


Link to post
Share on other sites

Suggest that you go back and review the initial link that I posted as this should be the solution to your issue. The fact that it didn't work for you is indicative that you probably did it wrong. o:)

Post your code that doesn't work and then maybe someone will jump in and help you.

Share this post


Link to post
Share on other sites

Well. This is not really I want to achieve (firevent example works on this website  :thumbsup: ).However topic can be closed because I want to click on one 'img-item' ingame what breaks the forum rulez

 

PS. If anyone's willing to help me out,pm me.

Edited by Au3Builder

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  

×
×
  • Create New...