Au3Builder Posted August 11, 2014 Share Posted August 11, 2014 (edited) Hi. How do I perform double click on specific element? alternatively drag&drop Edited August 11, 2014 by Au3Builder Link to comment Share on other sites More sharing options...
Danp2 Posted August 11, 2014 Share Posted August 11, 2014 You haven't given much detail, but perhaps >this link will help. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Au3Builder Posted August 11, 2014 Author Share Posted August 11, 2014 (edited) 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 August 11, 2014 by Au3Builder Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 11, 2014 Moderators Share Posted August 11, 2014 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 More sharing options...
Bert Posted August 11, 2014 Share Posted August 11, 2014 or a screenshot would help with a call out of the item you are trying to click on. Either works. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Danp2 Posted August 11, 2014 Share Posted August 11, 2014 You need to figure out what actions take place when you manually double click on the item, ie: what Javascript function gets executed. Once you know that, then you should be able to simulate the double click with Autoit. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
JohnOne Posted August 11, 2014 Share Posted August 11, 2014 _ie action(click) _ie action(click) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Danp2 Posted August 11, 2014 Share Posted August 11, 2014 Not the same thing, JohnOne. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Au3Builder Posted August 11, 2014 Author Share Posted August 11, 2014 (edited) here's the task for tough guys only (2x click on the button using ie library) 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 #include <MsgBoxConstants.au3> #include<ie.au3> $dbl = _IECreate('http://johnrocket.byethost15.com',1,1) 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 August 11, 2014 by Au3Builder Link to comment Share on other sites More sharing options...
JohnOne Posted August 11, 2014 Share Posted August 11, 2014 Right away sir. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Danp2 Posted August 11, 2014 Share Posted August 11, 2014 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. Post your code that doesn't work and then maybe someone will jump in and help you. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Au3Builder Posted August 12, 2014 Author Share Posted August 12, 2014 (edited) Well. This is not really I want to achieve (firevent example works on this website ).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 August 12, 2014 by Au3Builder Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 12, 2014 Moderators Share Posted August 12, 2014 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 More sharing options...
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