Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:30

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

Advertisement



AutoIt ControlClick

Discussion on AutoIt ControlClick within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 3
AutoIt ControlClick

Heyho ihr da ^^

und zwar geht es mir um Folgendes:

Ich möchte bei einem Internetfenster (Firefox) einen Button gedrückt haben, und zwar mit ControlClick hab ich mir gedacht geht das ganz gut ^^ Hab grad n wenig rumprobiert und bin dann zu folgendem gekommen (er soll auf einen Button klicken wo "Play Game" draufsteht.. das is schonmal Problem 1) :


(Name des Fensters war richtig angegeben)
Hab ich mir gedacht so kanns ja doch ned gehn ^^ der weiß ja garned was auf dem Button draufsteht.. aber im quelltext steht ja dann wiederum was von play_game etc..
Sooo.. Quelltext für die Stelle wäre:


Hätte es schon durch ein ControlClick auf stelle X/Y hingekriegt denk ich :/ is aber eher stümperhaft oder? ^^

Dannach soll der bot natürlich noch andere Dinge machen.. wie ein Wort auslesen, Zählen wie viele _ _ _ _ _ da stehen.. und daraufhin eben handeln.. hört sich komischerweise einfach an wenn mans so sagt X_x... Nunja das 1. Problem zu lösen wäre schonmal ne große Hilfe.. für das andere Zeug hab ich schon n paar Ideen wie ich das anstelle.. hoffe ich brauch dann nicht mehr soooooo viel Hilfe ^^


edit: mist ich hätte schwören können ich war im AutoIT Forum -.-
UnknownUser123 is offline  
Old 01/19/2010, 15:16   #2


 
Cholik's Avatar
 
elite*gold: 4
Join Date: Aug 2008
Posts: 6,786
Received Thanks: 4,992
#moved
Nächstes Mal bitte direkt in die AutoIt-Sektion, danke.
Cholik is offline  
Old 01/19/2010, 18:23   #3
 
elite*gold: 137
Join Date: Feb 2008
Posts: 1,177
Received Thanks: 199
bei name des fensters muss man oben wie jetzt z.b. AutoIt ControlClick - Opera eintippen?!
S-youth is offline  
Old 01/19/2010, 19:58   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,147
Das kannst du mit der FF.au3 besser lösen

Such mal danach im AutoIt Forum
KDeluxe is offline  
Old 01/20/2010, 20:39   #5
 
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 3
die FF.au3 hab ich, FFSearch etc hab ich schonmal n wenig benutzt, Fenstername war wie gesagt korrekt angegeben

grad n wenig am rumprobieren damit
UnknownUser123 is offline  
Old 10/15/2011, 16:43   #6
 
elite*gold: 0
Join Date: Nov 2008
Posts: 291
Received Thanks: 41
jo ich probier auch grad rum aber bei mir klappt noch nix^^

_MouseClickPlus("untitled - Paint","left",500,800,1)
_MouseClickPlus("untitled - Paint","left",123,123,1)
_MouseClickPlus("untitled - Paint","left",400,1000,1)
_MouseClickPlus("untitled - Paint","left",50,80,1)
hab das gefunden könnte das gehn?

Opt("MouseCoordMode", 0)

_MouseClickPlus("untitled - Paint","left",500,800,1)
_MouseClickPlus("untitled - Paint","left",123,123,1)
_MouseClickPlus("untitled - Paint","left",400,1000,1)
_MouseClickPlus("untitled - Paint","left",50,80,1)

;================================================= ==============================
;
; Function Name: _MouseClickPlus()
; Version added: 0.1
; Description: Sends a click to window, not entirely accurate, but works
; minimized.
; Parameter(s): $Window = Title of the window to send click to
; $Button = "left" or "right" mouse button
; $X = X coordinate
; $Y = Y coordinate
; $Clicks = Number of clicks to send
; Remarks: You MUST be in "MouseCoordMode" 0 to use this without bugs.
; Author(s): Insolence <>
;
;================================================= ==============================
sakule is offline  
Old 10/15/2011, 19:36   #7
 
elite*gold: 35
Join Date: Apr 2011
Posts: 800
Received Thanks: 214
Hast du es schon mal mit _FFClick probiert?
.AppleTree. is offline  
Reply


Similar Threads Similar Threads
AutoIt ControlClick
06/03/2010 - AutoIt - 3 Replies
Servus, also ich möchte mir nen kleinen Bot für nen Browsergame basteln, der aber im Hintergrund läuft. Ich habs mit ControlClick versucht, hab schon ziemlich viel gegooglet und auch hier die SuFu benutzt, aber nix befunden was mir helfen würde. Wenn ich das Script starte macht er überhaupt nichts. Werder wenn das Fenster maximiert oder minimiert ist.
controlclick?
04/15/2010 - AutoIt - 9 Replies
mal ne frage irgendwie bekomme ich keinen controlclick hin ControlClick ("METIN2","", ]]]) was da falsch?
[AutoIT] ControlClick an Metin?!
11/08/2009 - AutoIt - 4 Replies
Hey Leute, is es möglich mit ControlClick iwie Metin zu beeinflussen? Oder gibt´s irgendwelche UDFs? Das Problem is ja nämlich, dass Metin keine ControlIDs hat... Danke LG Manlius
ControlClick (AutoIt) in Runes of Magic
05/05/2009 - General Gaming Discussion - 2 Replies
Hello @ all, Since 2 days I looking for a working command to click in runesofmagic. With ControlClick I do not get a good result, it means it do not work. Seit 2 Tagen versuche ich ControlClick auch für Runes of Magic zum laufen zu bekommen jedoch ohne Erfolg. ControlClick("Runes of Magic","","Radiant Arcana0","left",1,950,250) ControlClick("Runes of Magic","","Radiant Arcana0")...
ControlClick
01/10/2009 - GW Bots - 47 Replies
Hi Leute, Also, ich wollte mal einen Bot schreiben der im Hintergrund läuft, sodass ich nebenbei auf einem anderen Account spielen kann. Nun habe ich folgendes Problem: Die Idee war folgende: ich wollte den Bot ganz einfach alle Taschen des Inventars öffnen lassen und ihn dann per ControlClick wieder schließen lassen. Dies soll für mich erstmal eine Art Übung sein, um später eine Sellfunc. drauß zu machen. Nun ist meine Frage.. Wieso passiert da nichts? Er öffnet nur das Inventar,...



All times are GMT +2. The time now is 18:30.


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.