Register for your free account! | Forgot your password?

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

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

Advertisement



Control click nur coordinaten + fenstername

Discussion on Control click nur coordinaten + fenstername 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
Control click nur coordinaten + fenstername

Hallo!
Schon wieder ein threa von mir .___.
Also gibt es irgendwie eine möglichkeit control clicks nur mit koordinaten & Fensternamen auszuführen? Wenn nicht gibt es irgendeine andre möglichkeit ein verstecktes (hidden) ie fenster anzusteuern?
inspi123 is offline  
Old 10/19/2013, 23:19   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Ja, wenn es dein eigenes IE Objekt ist mit den üblichen IE Befehlen, wenn es ein anderes IE ist, dann nutz den 2. Parameter "attach".
Code:
$oIE = _IECreate("URI der aktuellen Seite des hidden IE", 1)
Und für ControlClick sind die letzten zwei Parameter entscheidend:
Code:
ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y]]]] )
Bevor du postest gib bitte den Befehl in SciTE ein und drück F1 um die Hilfe anzuzeigen, dort wird eigentlich alles erklärt.

All die Fragen sind überflüssig wenn du mal ab und zu in die Hilfe schauen würdest.
alpines is offline  
Old 10/20/2013, 08:38   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 77
Received Thanks: 1
naja es is ja nicht mein eigenes ie objekt.
und mein problem ist ich bekomme da keinen text angezeigt wenn ich mit dem window info curser drüber fahre weils eine grafik ist, die als link verwendet wird.
Deshalb hab ich auch geschrieben nur koordinaten & fenstername, mehr steh mir nicht zur verfügung..
inspi123 is offline  
Old 10/20/2013, 11:43   #4
 
elite*gold: 15
Join Date: Aug 2012
Posts: 3,041
Received Thanks: 6,394
Use AutoIt Window Info and set coord mode to client from the options
--
Drag Finder Tool to the position you want to click.
Go to the Mouse tab.

This is what you should use in the code;

Code:
$title = "Title Text from the Window Info [Basic Window Info]"
$mouseEvent = "left" ;"right" is the right-click etc
$clickCount = 1 ;how many times should it click
;~ let's say your position property is 540,360
$coordX = 540 ; "First coordinate on the position property of the mouse tab"
$coordY = 360 ; "Second coordinate on the position property of the mouse tab"

ControlClick($title, "", "", $mouseEvent, $clickCount, $coordX, $coordY)

;you won't need to use the text parameter unless you're dealing with multiple windows
and here is an example; (made for the 800x600 window size)
Code:
ControlClick("Soldat", "", "", "left", 1, 10, 540)
berkay2578 is offline  
Thanks
1 User
Old 10/20/2013, 15:04   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 77
Received Thanks: 1
thank you soooo much =D
inspi123 is offline  
Reply


Similar Threads Similar Threads
Control click
04/29/2012 - AutoIt - 9 Replies
#Removed
Control Click
12/04/2010 - AutoIt - 6 Replies
Hi, I am using Conquer , to control click the Items button ... i do this ControlClick( ", "??", "1007, "Left", 1) Doesnt work, here is the info of the button : Title : Class : Afx:400000:0:10011:0:0
Control Click
10/13/2010 - AutoIt - 20 Replies
Hey Com^^, ich will spaßhalber etwas mit hidden herumspielen^^ bei Conrtrolclick jedoch nimmt autoit nicht die controlclick coords von window info sonder nur die normalen, wodurch des ganze net hidden gehn will^^ würde gerne wissen, wie man autoit praktisch ein fenster zuweist, in dem es klicken soll und es die coords nimmt , als wäre dieses fenster der gesamte bildschirm... wenn jmd weis wie ich klicks anders hidden simulieren kann, kann ers auch schreibn^^ € der controlclick...
ELSE without control click.
10/23/2008 - Conquer Online 2 - 1 Replies
Hi. I never used ELSE before the newest patch which means it has to use ur mouse now. I used it once actually and i remember it didnt use ur mouse, but it kept dragging conquer as the focus window. What good is this if you cant use your computer if it keeps coming up every second as conquer? Anyway, i had this theory, what if he can make the same bot he had (the one that doesnt use the mouse) except remove the part that holds control, so its just mouse clicks without using the mouse. And...



All times are GMT +2. The time now is 05:15.


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.