Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars 2
You last visited: Today at 19:51

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

Advertisement



Midnight ControlSend Problem

Discussion on Midnight ControlSend Problem within the Guild Wars 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2015
Posts: 13
Received Thanks: 0
Midnight ControlSend Problem

Ich versuche nun seit geraumer Zeit über Midnight und AutoIt 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/24/2015, 02:46   #2
 
elite*gold: 0
Join Date: Jun 2008
Posts: 23
Received Thanks: 15
Ich bin auch kein Experte was Autoit angeht. Immer wenn ich damit ws mache bugt es rum oder mach nicht genau das, was ich vorgesehen habe. Ich habe das gleiche in den letzten Tagen versucht un bin zum schluss gekommen AutoIt und Midnight: Keine Chance! Weiss auch nicht wieso...

Workaround: Schreib dein Programm in C# dann funktionierts. Du kannst Midnight mit den folgenden funktionen ansteuern:
[DllImport("user32.dll")]
static extern IntPtr GetDlgItem(IntPtr hWnd, int nIDDlgItem);

[DllImport("user32.dll")]
static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, IntPtr lParam);

Hoffe das Hilft dir. Viel Spass
boaretas is offline  
Reply


Similar Threads Similar Threads
controlsend problem
02/12/2012 - AutoIt - 7 Replies
Hy, send("1") - is use the 1 number in game if the game is active, ControlSend("gamewindowtitle", "", "", "1") - this script use only to one window, but in game doesnt use number, just if i use chat, this code wrigint in chat, how can i do it how works on keyboard? now i try use numbers in game with this: While 1 ControlSend("", "", "", "{"$1"}")
Controlsend Problem
06/04/2011 - AutoIt - 0 Replies
Hat sich erledigt. ;)
ControlSend Problem.
01/31/2011 - AutoIt - 1 Replies
Hey E*pvpers. Hab ein Problem, das ausgelesene einer Combobox richtig weiterzuverwenden. Folgendes Script hab ich getestet und es geht $handle = WinGetHandle(" & $iInput1 & ") ControlSend($handle, "", "", "{F5}")
ControlSend Problem
11/02/2010 - AutoIt - 17 Replies
Hallo alle zusammen , wie irh bestimmt wisst hat ControlSend immer eine Einschränkung für die Tastatur.... Jetzt wollte ich euch um Rat fragen ob es da irgendeine bestimmte UDF,oder sonsstwas gibt ... Ich denke das würde nicht nur mir helfen sondern auch andern
Problem mit Controlsend
08/06/2010 - AutoIt - 36 Replies
Hallo, Vielleicht haben manche von euch auch das Problem das wen es zuviele ControlSends im Script sind und du z.b. was schreiben willst dan die Tastatur komplett anfängt zu Spinnen. z.b.: Func _1() ControlSend("4Story_GSP", "", 0, "{TAB}") Sleep(150) ControlSend("4Story_GSP", "", 0, "{TAB}") Sleep(400)



All times are GMT +2. The time now is 19:51.


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