Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 07:56

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

Advertisement



Autoit Controlsend (inactive window)

Discussion on Autoit Controlsend (inactive window) within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 88
Received Thanks: 2
Autoit Controlsend (inactive window)

Hiho,

ich hab soweit einen funktionierenden Bot - ich wollte nun das Script so umschreiben das es auch auf das inaktive Fenster von dem Spiel zugreift.

Habe mich im Forum etwas belesen und bin zu folgenden Aussagen gekommen:

- #requireAdmin(funktioniert nicht)
- "0" oder "" bei dem Absatz ControlID (funktioniert auch nicht)

Den Titel des Fensters habe ich nun schon dutzende male überprüft, der ist 100%ig korrekt.

Randinfo wäre das ich Vista benutze, Benutzerkontensteuerung ist aber abgeschalten - daher bringt #requireAdmin auch nix.

Es gibt nun soweit keine ControlID für das Spiel, habe auch gelesen das es für 3D Games nie eine gibt.

Gibt es noch einen anderen Befehl der Tastendrücke an ein inaktives, oder minimiertes Fenster sendet oder funktioniert es nun einfach nicht?

Grüße
Aki

----------------------------------------------
english

Hello,

i've a problem with my autoit script.

I would like to send keys to a inactive or minimized window - so i used controlsend.

But nothing happens. I controlled the title multiple times but its 100% correct.

It seems that there is no ControlID for 3D Games. Au3info did not find any ID.

So my question is - is there a way to send keys and commands to a inactive or minimized window.

I tried:

- #requireAdmin
- "0" for controlid

but both did not work.

Thanks
Aki
Zaradina is offline  
Old 12/05/2009, 20:52   #2
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
Quote:
- #requireAdmin(funktioniert nicht)
geht nur bei VISTA oder Win 7

Quote:
- "0" oder "" bei dem Absatz ControlID (funktioniert auch nicht)
Bei welchem Spiel? METIN2 geht z.B. nicht so

Sonst eigentlich so


PHP Code:
$Handle WinGetHandle (Dein Spiel)
ControlSend ($Handle""0"Dein tastendruck"
mfg
HardCore.1337 is offline  
Old 12/05/2009, 21:08   #3
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Send/PostMessage?

btw, das ist nicht die autoit section.
MoepMeep is offline  
Old 12/05/2009, 21:10   #4
 
elite*gold: 0
Join Date: Jan 2008
Posts: 88
Received Thanks: 2
Danke schonmal für die Antwort, funktioniert leider mit wingethandle auch nicht.

Also Vista benutze ich - falls das der Ursprung des Problems ist. Benutzerkontensteuerung ist aber ausgechalten.

Das Spiel wäre Dark Age of Camelot. Bei anderen Spielen konnte ich es im Moment noch nicht ausprobieren.

Edit:
Gibts eine extra Autoit Section? Habe ich dann leider übersehen, tut mir leid.

Ein Mod bitte den Thread verschieben, danke sehr.
Zaradina is offline  
Reply


Similar Threads Similar Threads
ControlSend Autoit
07/17/2017 - AutoIt - 6 Replies
Hallo! Ich habe eine Frage zu AutoIt ich möchte,dass ControlSend länger GEDRÜCKT gehalten wird.. #RequireAdmin sleep(1500) While 1 ControlSend("4Story","", "","w") ControlSend("4Story",""," ;","w")
Any program for sending key to Inactive Window ?
04/16/2010 - Dekaron - 2 Replies
well ?
[Autoit] ControlSend/Click and DF
01/20/2010 - General Gaming Discussion - 11 Replies
hey, ich habe ein kleines problem mit autoit in DF. für controlsend bzw controlclick finde ich nicht die benötigte controlID. das window info tool zeigt keine an. wenn ich bei controlID dann nur "" angebe, funktioniert es anscheinend nicht. kann man da was machen? danke. english: hey, im having a smal problem with autoit in DF. controlsend / controlclick dont seem to work. the window info tool doesnt show a controlID for DF. any help? thanx
Bot autoit Controlsend
03/20/2009 - AutoIt - 0 Replies
ICh hab vor kurzem für ein kleineres onlinespiel namens StoneAge2 mit Autoit einen bot geschrieben, der im Prinzip nichts anderes tut als auf und ab zu laufen und mit einem Rechtsklick den letzten angriff zu wiederholen. Jetzt woltle ich das ganze im hintergrund Ablaufen lassen und habe es mit Controlsend versucht. Hiermit funktioniert das laufen aber nicht mehr, dhBefehle wie I: INventar funktionieren senden aber auf {UP} {DOWN} reagiert er einfach nicht. Das selbe ist mir früher schon einmal...
AutoIt-ControlSend
02/05/2009 - General Coding - 2 Replies
Hallo! ich möchte dass mein scrip z.B. "hallo" in ein miniemiertes fenster sendet. das muss ich dann doch mit controlsend machen oder? $client = "Unbenannt - Editor" ControlSend($client, "", "", "hallo") das funktioniert jetzt aber irgendwie nich:confused: mache ich da iwas falsch???



All times are GMT +1. The time now is 07:57.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.