ZwinnyRolnik Posted July 15, 2010 Share Posted July 15, 2010 How i can click "ok" or "cancel" in my browser-dialog in FireFox? Please help. <div onclick="if (confirm('Czy na pewno chcesz założyć ten zestaw przedmiotów? (atak)')) document.location.href='?a=equip&eqset=1';" onmouseout="nd();" onmouseover="return overlib(' <div style=\'margin: 3px 10px;\'>Legendarna Doskonała Tygrysia Maska</div><div style=\'margin: 3px 10px;\'>Legendarna Doskonała Tygrysia Koszulka Odporności</div><div style=\'margin: 3px 10px;\'>Dobry Czarny Amulet Celności</div><div style=\'margin: 3px 10px;\'>Dobry Czarny Pierścień Siły</div><div style=\'margin: 3px 10px;\'>Doskonały Czarny Sygnet</div><div style=\'margin: 3px 10px;\'>Legendarne Doskonałe Tygrysie Szorty</div><div style=\'margin: 3px 10px;\'>Legendarny Dobry Zwinny Łom Krwiopijcy</div> ',WIDTH,300,CAPTION,'atak',CAPTIONFONTCLASS,'action-caption');" style="text-align: center; margin-top: 8px; font-size: 16px; font-weight: bold; color: white;">1</div> controls doesn't work. i mean "controlsend" Link to comment Share on other sites More sharing options...
Kaeft Posted July 15, 2010 Share Posted July 15, 2010 Seems like whenever I ask a question about Firefox everyone ignores me. BUT I do have a solution for you. You will need to get ff.au3 and include it in your file and then you can use _FFDialogWait to fix your problem. If you have anymore questions I'll try and help to the best of my ability. Link to comment Share on other sites More sharing options...
ZwinnyRolnik Posted July 15, 2010 Author Share Posted July 15, 2010 Yes i know about _FFDialogWait but here http://english.documentation.ff-au3.thorsten-willert.de/ff_functions/_FFDialogWait.php i read: Remarks Does not work with dialogs which are directly via onclick opened. and what's now? Link to comment Share on other sites More sharing options...
Kaeft Posted July 16, 2010 Share Posted July 16, 2010 (edited) Hmm now I'm not sure. maybe _FFClick(). As I suggested earlier I am still asking questions about ff.au3 too. Edited July 16, 2010 by Kaeft Link to comment Share on other sites More sharing options...
ZwinnyRolnik Posted July 16, 2010 Author Share Posted July 16, 2010 hmm it's working, thx for reply $nrtego2 = _FFXpath("/html/body/div/div/div[6]/div[2]/fieldset/div[2]/div","",9) _FFClick($nrtego2) Sleep(1000) ControlSend("Komunikat ze strony","", "[CLASS:MozillaWindowClass; INSTANCE:1]", "{Enter}") 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