Register for your free account! | Forgot your password?

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

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

Advertisement



Problem BlueStacks 1.1.11.8004 with ControlClick

Discussion on Problem BlueStacks 1.1.11.8004 with ControlClick within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2
Received Thanks: 0
Problem BlueStacks 1.1.11.8004 with ControlClick

i try auto click Seven Knights game but not work
if use MouseClick it work

this code

Code:
Opt("MouseCoordMode", 2)
$title="Bluestacks App Player"
WinActivate($title)
;MouseClick("",1168, 688,1,2)
ControlClick($title,"","","left",1,1168, 688)

detail in Autolt info
Quote:
>>>> Window <<<<
Title: Bluestacks App Player
Class: WindowsForms10.Window.8.app.0.33c0d9d
Position: 341, 94
Size: 1282, 749
Style: 0x16030000
ExStyle: 0x00050000
Handle: 0x000203D6

>>>> Control <<<<
Class: BlueStacksApp
Instance: 1
ClassnameNN: BlueStacksApp1
Name:
Advanced (Class): [CLASS:BlueStacksApp; INSTANCE:1]
ID:
Text: _ctl.Window
Position: 1, 28
Size: 1280, 720
ControlClick Coords: 1167, 660
Style: 0x58000000
ExStyle: 0x00000000
Handle: 0x000203EC

>>>> Mouse <<<<
Position: 1168, 688
Cursor ID: 0
Color: 0xF4DBA8

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Seven Knights
BlueStacks Android Plugin
_ctl.Window


>>>> Hidden Text <<<<
Home

bypazs is offline  
Old 11/30/2015, 05:54   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 166
Had the same problem with nox emulator, try this:
Code:
#requireadmin
$hwnd = wingethandle("[CLASS:WindowsForms10.Window.8.app.0.33c0d9d]");if this don't work replace this line with $hwnd = 0x000203D6 note that this value is the handle obtained with aut info and will change in future runs
ControlClick($hwnd ,"","","left",1,1168, 688)
elmarcia is offline  
Old 11/30/2015, 13:29   #3
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
The class is different from app to app so better use the title.
alpines is offline  
Old 11/30/2015, 18:10   #4
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by elmarcia View Post
Had the same problem with nox emulator, try this:
Code:
#requireadmin
$hwnd = wingethandle("[CLASS:WindowsForms10.Window.8.app.0.33c0d9d]");if this don't work replace this line with $hwnd = 0x000203D6 note that this value is the handle obtained with aut info and will change in future runs
ControlClick($hwnd ,"","","left",1,1168, 688)
thank you

i try nox ControlClick work

but in bluestack not work

i think bluestack can use MouseClick only

Quote:
Originally Posted by alpines View Post
The class is different from app to app so better use the title.
thank you
bypazs is offline  
Old 12/11/2017, 23:55   #5
 
elite*gold: 0
Join Date: Jun 2014
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by elmarcia View Post
Had the same problem with nox emulator, try this:
Code:
#requireadmin
$hwnd = wingethandle("[CLASS:WindowsForms10.Window.8.app.0.33c0d9d]");if this don't work replace this line with $hwnd = 0x000203D6 note that this value is the handle obtained with aut info and will change in future runs
ControlClick($hwnd ,"","","left",1,1168, 688)
still working?
paquielli is offline  
Old 12/01/2018, 03:59   #6
 
elite*gold: 0
Join Date: Feb 2011
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by bypazs View Post
i try auto click Seven Knights game but not work
if use MouseClick it work

this code

Code:
Opt("MouseCoordMode", 2)
$title="Bluestacks App Player"
WinActivate($title)
;MouseClick("",1168, 688,1,2)
ControlClick($title,"","","left",1,1168, 688)

detail in Autolt info
ControlClick("BlueStacks", "", "[BlueStacks.exe;Instance: 1])", "left", 1, 1, 1) ;ist es bei mir
Goliard2k6 is offline  
Reply


Similar Threads Similar Threads
Problem Bluestacks
04/13/2016 - Clash of Clans - 2 Replies
Hallo Leute, da man ja für alle Bots die Resolution 800x600 brauch wollte ich diese eben aendern; gesagt getan und zwar hier: HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\And roid\FrameBuffer\0\Height und HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\And roid\FrameBuffer\0\Width allerdings sobald ich Bluestacks starte geht es wieder in die alte Resolution sprich wird überschrieben, wäre jemand so lieb und könnte Abhilfe schaffen woran das liegt bzw was ich falsch mache? :)
BlueStacks problem mit Spiel
11/12/2015 - Technical Support - 2 Replies
Hallo, Ich habe mir das Programm BlueStacks gedownloadet da ich ein Spiel drauf spielen möchte was ich auch auf meinem Handy habe. es handelt sich um Summoners War, wenn ich das spiel Starte macht er dieses Update aber nach ungefähr 10% geht das Spiel weg und ich komme wieder in den Homescreen :/ woran liegt das Problem?
Spiel Blockt ControlClick//Game is blocking ControlClick? any Idea?
01/02/2014 - AutoIt - 6 Replies
GAME: TALES OF PIRATES II ---------------------- GERMAN: Hiho leute .... bin gerade eig, fertig mit pointern etc.. zu finden und wollte gerade einen test run machen wo mein chara einfach mal ne runde läuft so und nun ist das, dass problem das, Tales of Pirates II , ControlClick blockiert -.- ... mir wurden "MouseEvents" vorgeschlagen, Ok gehen aber das sind ja nur link/rechts klicks ... brauche aber das die Maus sich bewegt und ich dabei im hintergrund noch was machen kann sowie...
Problem mit Controlclick autoit in S4 league
04/07/2013 - AutoIt - 5 Replies
€losed~~~ Hallo Community Mein Problem: Ich bin am Arbeiten eines Bots für S4 League und zwar für den Arcademode:"conquest".Jetzt taucht aber Folgendes Problem mit Controlclick auf: X-Trep bekommt das mit trotz HGWC und X-Trap bypass... Wieso ??? und was könnte man dagegen machen ??? und gibt es eine Möglichkeit S4 league mit Autoit im Hintergrund zu starten ??? P.s. ich habe den bot in einer vorgängerversion konstruiert indem ich die Maus im Vordergrund spielen lassen hab ^^ in einer...
[ʛғẋ-ṩђὄῥ]ῥʀὄғἔṩṩἷὄᾗᾄł ʛғẋ [ƈђἔᾄῥ]
05/28/2012 - elite*gold Trading - 9 Replies
http://img7.imagebanana.com/img/gv71heqz/header.pn g Referenzen: http://img7.imagebanana.com/img/cwhm5uda/Unbenann t1.png http://www7.pic-upload.de/17.07.11/l6akvkfi57l5.j pg http://img6.imagebanana.com/img/vdq48h0m/3.jpg http://www8.pic-upload.de/08.08.11/cu2yud1n5pwk.p ng http://img7.imagebanana.com/img/hmrragkg/thumb/Fa lconeFamiglia.jpg http://img6.imagebanana.com/img/t150l7d7/Unbenann t1.gif



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


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.