Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 05:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



_IEAction ($oOK,"click")

Discussion on _IEAction ($oOK,"click") within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 77
Received Thanks: 1
_IEAction ($oOK,"click")

Also mein problem ist:

ich kann diesen button:

PHP Code:
<input id="target_attack" class="attack btn btn-attack" type="submit"
 
style="font-size: 10pt;" value="Angreifen" name="attack" tabindex="15"></input
damit:

PHP Code:
$oForm _IEFormGetCollection($oIE,0)
$oAngriff _IEFormElementGetObjByname ($oForm,"target_attack")
_IEAction ($oAngriff,"click"
klicken.


Aber ich kann diesen button:

PHP Code:
<input id="troop_confirm_go" class="btn" type="submit" value="OK" 
onload="this.disabled=false;" name="submit"></input
damit:

PHP Code:
$oForm _IEFormGetCollection($oIE,0)
$oOK _IEFormElementGetObjByname ($oForm,"troop_confirm_go")
_IEAction ($oOK,"click"
nicht klicken, hat wer tipps wie ich's hinbekomme den zweiten button zu klicken?
inspi123 is offline  
Old 10/21/2013, 17:24   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Code:
$oSubmit = _IEObjGetById($oIE, "target_attack")
_IEAction($oSubmit, "click")
_IELoadWait($oSubmit)
Vielleicht?
alpines is offline  
Old 10/21/2013, 20:11   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 77
Received Thanks: 1
nein funtioniert leider nicht ;(
inspi123 is offline  
Old 10/21/2013, 20:46   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Ansonsten _IEAction($oSubmit, "focus") und dann ControlSend anwenden für das Fenster, das geht auch wenns versteckt ist.
alpines is offline  
Old 10/27/2013, 11:40   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 77
Received Thanks: 1
sry für die verspätete antwort, kannst du mir vielleicht kurz erklären wie genau ich das dann mache?
Mit _IEAction($oSubmit, "focus") fokusier ich nimm ich an genau den button den ich klicken möchte und muss dann höchst warscheinlich irgendwie $oSubmit in den control send befehl einbauen, aber wie?
inspi123 is offline  
Old 10/27/2013, 12:58   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Du kannst ControlSend benutzen um den Button auszulösen, ist zwar nicht ganz optimal aber funktionert
Code:
$hIE = _IEPropertyGet($oIE, "hwnd")
ControlSend($hIE, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{ENTER}")
alpines is offline  
Old 11/01/2013, 08:44   #7
 
elite*gold: 0
Join Date: Nov 2009
Posts: 77
Received Thanks: 1
gute idee =D
probier ich gleich
thx
inspi123 is offline  
Old 11/01/2013, 16:33   #8
 
de4df1sh's Avatar
 
elite*gold: 305
Join Date: Dec 2012
Posts: 50
Received Thanks: 16
Ich weis ja nicht aber müsste es wenn überhaupt nicht eigentlich
Code:
$oSubmit = _IEObjGetById($oIE, "troop_confirm_go")
_IEAction($oSubmit, "click")
_IELoadWait($oSubmit)
sein, weil doch der untere nicht geht?
de4df1sh is offline  
Old 11/01/2013, 16:51   #9
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Ich habs ihm schon zugeschickt funktioniert bei ihm.
alpines is offline  
Reply




All times are GMT +1. The time now is 05:37.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.