sowied Posted March 17, 2013 Share Posted March 17, 2013 Hi, im abit new to AutoIt but i tried to automate the start of andriod emulator bluestacks because it takes alot of time to start it and apps on it i managed to run the emulator but when it comes to start an app nothing happends $hwnd = WinActivate("BlueStacks App Player") ;thats the last line that gets executet MouseMove(980, 640, 0) ;mouse dont Move ControlClick($hwnd, "", "[CLASS:BlueStacksApp; INSTANCE:1]", 209, 592) ;or click Sleep(1000) ;sleep works as i can see in the time MouseDown("left") ;i moved the mouse to another window to see if its a problem on the emulator but nothing happend Sleep(5000) any hints would be nice i really dont know what is going wrong Link to comment Share on other sites More sharing options...
water Posted March 17, 2013 Share Posted March 17, 2013 Welcome to AutoIt and the forum! Why do you move the mouse at all? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
sowied Posted March 17, 2013 Author Share Posted March 17, 2013 to move over the icon of an app i know the controlclick hast also mousecoordinates in it but none of them work Link to comment Share on other sites More sharing options...
water Posted March 17, 2013 Share Posted March 17, 2013 What do you get when you use the Window Info Tool that comes with AutoIt? Is every App a control you can click on? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted March 17, 2013 Developers Share Posted March 17, 2013 (edited) BlueStack is an environment to run Android apps, so It wouldn't surprise me when it has all kinds of limitations ones it has the focus. Jos Edited March 17, 2013 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
sowied Posted March 17, 2013 Author Share Posted March 17, 2013 no the hole emu has two controls -the main area -the bottom area with some buttons Link to comment Share on other sites More sharing options...
water Posted March 17, 2013 Share Posted March 17, 2013 If the emulator doesn't provide any kind of automation (automatically start Apps etc.) then you are out of luck. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now