Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 09:59

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

Advertisement



ControlSend + WinGetPos

Discussion on ControlSend + WinGetPos within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1

 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,494
Received Thanks: 1,769
ControlSend + WinGetPos

Hallo,

ich versuche Klicks in Seafight mit ControlSend zu senden. Wie ich den handle herbekomm hab ich mittlerweile herausgefunden, aber ich versteh immer noch nicht wie ich x und y Koordinaten des Klicks ausrechne. Meine Bildschirmauflösung ist 1920x1080 und ich bekomm durch WinGetPos meines Spielfensters folgende Daten:

X: -8
Y: -8
Width: 1936
Height: 1056

Mit der AutoIt Window Info bekomm ich ControlClick Coords : 0:0 wenn ich mit meiner Maus auf die Position 0:52 meines absoluten Bildschirms gehe. Ich hab mal das grün makiert wovon ich denke, dass es der Control ist, mit dessen Koordinaten ich arbeiten muss.



Hoffe jemand kann mir weiterhelfen
Moneypulation is offline  
Old 11/02/2014, 16:56   #2

 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,494
Received Thanks: 1,769
Also ich hab jetzt nur noch einen Fehler:



Ich will diesen "Map Wechsel" via ControlClick oder PostMessageClick drücken aber die Koordinaten funktionieren nicht. Bei beiden wird irgendeine Stelle auf dieser hellen Leiste direkt darüber angeklickt, obwohl ich die passenden ControlClick Koordinaten benutzt hab. Diese hab ich mit dem AutoIt Window Helper herausgefunden:



Was mach ich falsch??
Moneypulation is offline  
Reply


Similar Threads Similar Threads
ControlSend an PID
05/17/2011 - AutoIt - 0 Replies
Hi, ich hab gegoogled, aber keine Lösung gefunden. Nehmen wir an, ich habe World of Warcraft 2x geöffnet: World of Warcraft - PID 1380 World of Warcraft - PID 2761 Nun möchte ich ControlSend für den Prozess mit der PID 1380 senden. Wie mache ich das? Meine Versuche scheitern kläglich :( EDIT:
Controlsend
10/12/2010 - AutoIt - 8 Replies
hi, wie kann man einen beliebiges wort in die googlesuchmaschine (nur in die inputbox von google) mit controlsend schreiben? kennt wer ein gutes tut über controlsend?
controlsend with {a down}
10/21/2009 - AutoIt - 16 Replies
hi i want du create a backgroundmode for my aion bot. but i cannot send a {a down} to my aion window. ControlSend("AION Client", "", "", "{a down}") did not work. can somebody help me pls?
controlsend
10/09/2009 - AutoIt - 21 Replies
hey leute ich wollt eigentlich nur wissen wie ich die controlid rauskirege.. ControlSend( "titel", "text", controlID<----dass will ich wissen, "string")
ControlSend
09/28/2009 - AutoIt - 4 Replies
HotKeySet ("E","test") Func test() ControlSend("World of Warcraft", "", 0, "{ENTER}") Sleep (100) ControlSend("World of Warcraft", "Text", 0, "{ENTER}") EndFunc While 1 Sleep (100)



All times are GMT +1. The time now is 10:00.


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.