Jump to content

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

  • Moderators

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?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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

  • Moderators

So, you admit your request breaks the forum rules, but ask (albeit privately) for help anyway? I see a long and illustrious forum career ahead of you... ;)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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