Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 08:38

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

Advertisement



Need Help with Bluestacks

Discussion on Need Help with Bluestacks within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2017
Posts: 11
Received Thanks: 0
Need Help with Bluestacks

Hi i want to send mouse clicks to bluestacks after searcher for a pixel...Plz help me. Im noob but quick learner so plz give me links of tutorials for this purpose or help me with the code.
everything should work in background or even if not in background it should not intrupt with my normal use of computer.
control send is not working on bluestacks (

Plz help me
podahmad is offline  
Old 04/13/2017, 13:47   #2
 
EngelEatos's Avatar
 
elite*gold: 22
Join Date: May 2011
Posts: 516
Received Thanks: 178
did you google it?


Can you post your code? That we can help you. What have you already tried?
EngelEatos is offline  
Old 04/22/2017, 13:39   #3


 
elite*gold: 122
Join Date: May 2014
Posts: 2,721
Received Thanks: 532


Pixelsearch does not work on a hidden window.

So try this:
- make Control Clicks and Pixelsearch on Bluestacks
- open a new Desktop on Win 10
Melli- is offline  
Old 04/23/2017, 22:33   #4
 
Regwin32's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 733
Received Thanks: 260
Use : for complex searching.

Code:
#include <ImageSearch.au3>

HotKeySet("p", "checkForImage")

global $y = 0, $x = 0

Func checkForImage()
local $search = _ImageSearchArea('check5.bmp', 1, 800, 40, 900, 80, $x, $y, 0)
If $search = 1 Then
MouseMove($x, $y, 10)
EndIf
EndFunc

while 1
sleep(200)
WEnd
Keep in mind, all Images need to be saved in the 24-BIT BMP Format.
Regwin32 is offline  
Old 04/28/2017, 16:15   #5


 
elite*gold: 122
Join Date: May 2014
Posts: 2,721
Received Thanks: 532
Quote:
Originally Posted by Regwin32 View Post
Use : for complex searching.

Code:
#include <ImageSearch.au3>

HotKeySet("p", "checkForImage")

global $y = 0, $x = 0

Func checkForImage()
local $search = _ImageSearchArea('check5.bmp', 1, 800, 40, 900, 80, $x, $y, 0)
If $search = 1 Then
MouseMove($x, $y, 10)
EndIf
EndFunc

while 1
sleep(200)
WEnd
Keep in mind, all Images need to be saved in the 24-BIT BMP Format.
It's not Control Click and it doesn't click. Only move the mouse, and that slow..
Melli- is offline  
Old 12/01/2018, 11:28   #6
 
elite*gold: 0
Join Date: Feb 2011
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by Melli- View Post
It's not Control Click and it doesn't click. Only move the mouse, and that slow..

Make it so

#RequireAdmin
#include <ImageSearch.au3>

HotKeySet("{F1}", "Start")
HotKeySet("{F2}", "Pause")
HotKeySet("{F3}", "Stop")

ControlClick("BlueStacks", "", "[BlueStacks.exe;Instance: 1])", "left", 1, 1, 1) ;thats for my Bluestacks

$x1 = 0
$y1 = 0

Func Start()
While 1
$result = _ImageSearch("99.bmp", 1, $x1, $y1, 60)
If $result = 1 Then
$result = _ImageSearch("98.bmp", 1, $x1, $y1, 60)
If $result = 1 Then
MouseClick("left", $x1, $y1, 1)
Sleep(1000)
EndIf
EndIf


WEnd
EndFunc ;==>Start

While 1
Sleep(100)
WEnd

Func Pause()
Sleep(36000000)
EndFunc ;==>Pause

Func Stop()
Exit
EndFunc ;==>Stop

Thats Search every time; Exit press F3 , Pause press F2, Start/GO press F1

alle Bilder müssen im selben Ordner wie der script liegen mit 24 Bit gespeichert.



habt spaß damit
Goliard2k6 is offline  
Reply


Similar Threads Similar Threads
Was ist mit Nox und Bluestacks los?
09/27/2016 - Pokemon - 2 Replies
Seit gestern geht garnichts mehr. Hat jemand ne ahnung wie ich über Nox oder Bluestacks wieder in Pokemon reinkomme?
Bluestacks
02/01/2016 - Smartphones - 3 Replies
Vorab, wenn ich hier falsch bin, bitte verschieben, bin mir unsicher ob das hier rein gehört (eher nicht) :D Also es geht um den Speicherort der apps die auf Bluestacks (Windows7) gespeichert werden, wo kann ich den finden? Ich stelle die frage das ich einen Clash of Clans Account rüber laufen lies und ich durch ein update nicht weiterkam, deshalb habe ich Bluestacks aktualisiert und mein Account war nicht mehr da. Habt ihr alternative Lösungsmöglichkeiten? Account war nur mit dem...
BlueStacks Hilfe!
06/29/2014 - Technical Support - 2 Replies
Hallo, und zwar habe ich mir bluestacks runtergeladen um auf dem Computer Clash of Clans zu spielen, jedoch kommt keine Internet verbindung an bei BlueStacks warum auch immer. Habs versucht mit firewall aus/an - geht nicht; Grabilla screen capture: 2014-06-26 14:34:50 das kommt... ich hoffe mir kann jemand helfen :( :handsdown:
BlueStacks
04/06/2014 - Smartphones - 11 Replies
naja wollte mal clash of clans auf dem pc spielen aber es will einfach nicht instalieren was mach ich falsch? kann mir einer helfen via skype oder teamviewer MFG
Bluestacks
11/22/2013 - Smartphones - 1 Replies
Ich wollte gerne kingdom rush spielen aber das funktioniert bei mir auf bluestacks nicht =( Kann jemand helfen?



All times are GMT +1. The time now is 08:39.


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