Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 14:41

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

Advertisement



AutoIT Probleme mit ControlSend

Discussion on AutoIT Probleme mit ControlSend within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2015
Posts: 13
Received Thanks: 0
AutoIT Probleme mit ControlSend

Ich versuche nun seit geraumer Zeit über Midnight und AutoIt (GW2) die Teleport Funktion zu benutzen. Derzeit bin ich bei dem Skript:

HotKeySet("{ß}", "_exit")

Func _exit()
Exit 1
EndFunc

Global $title = "Midnight"
Global $hwnd = WinGetHandle($title)

While True
ControlSend($hwnd, "", "", "1")
Sleep(1000)
WEnd

Wobei 1 mein Hotkey in Midnight ist, um die Portfunktion zu benutzen. Jedoch funktioniert dieser nicht und ich weiss auch nicht wieso. Könnte mir da wer helfen der mehr Ahnung von der ganzen Sache hat? Und bitte so einfach wie möglich halten. Habe wirklich 0 Ahnung von AutoIt
muma2 is offline  
Old 12/23/2015, 17:48   #2
 
loop88's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 47
Received Thanks: 9
ich hatte vor kurzem dasselbe problem, must die control ID angeben!!

Un direct den titel benutzen nicht den winHandler

ControlSend($title, "", $hwnd, "1")
loop88 is offline  
Old 12/24/2015, 13:19   #3
 
.Kevka's Avatar
 
elite*gold: 273
Join Date: Nov 2015
Posts: 60
Received Thanks: 10
In manchen Fällen wird auch zusätzlich
Quote:
#Requireadmin
am Anfang des Scripts benötigt.
.Kevka 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")
AutoIt ControlSend
06/07/2011 - AutoIt - 7 Replies
Hey, ich habe eine Frage. Wie heißt dieses Fenster? Also mit welchem Code sendet AutoIt mit ControlSend nur zu diesem Fenster? http://img4.fotos-hochladen.net/uploads/untitled2 57zcao9nuk.png Wäre nett wenn ihr mir helfen könntet. :)
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???
AutoIt - ControlSend Probleme
06/14/2008 - AutoIt - 2 Replies
Hallo, langsam aber sicher werde ich irre. An ein nicht aktives Fenster soll {LEFT} gesendet werden. Das Fenster ist nicht minimiert, sondern inaktiver Natur. TAB, Space, Enter etc. funktionieren, auch Sonderzeichen, Groß-/Klein- schreibung wird 1:1 gesendet. Down funzt auch nicht. Probiert habe ich ControlSend (mit und ohne handle), sowie ControlSendPlus. ControlFocus vor dem ControlSend bringt auch keine Resultate, ebenso



All times are GMT +1. The time now is 14:42.


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.