Jump to content

Recommended Posts

Posted

Hi, i'm new.

Still i made a "Kiosk" in a gui for my touchscreen table. 

Now i want to implate some games in it with a Android emulator because windows subsystem is not working in the next year.

  Quote

Example()

Func Example()
        ; Run Bluestacks
        Run("explorer.exe C:\C Kiosk\Starter\BlueGames\2PlayerGames.lnk")
        Sleep(2000)
        ; Wait 20 seconds for the Notepad window to appear.
;        Local $hWnd = WinWait("BlueStacks App Player", "", 10)
WinActivate("BlueStacks App Player")
        ; Wait for 2 seconds.
        Sleep(2000)

        ; Send a string of text to the edit control of Notepad. The handle returned by WinWait is used for the "title" parameter of ControlSend.
  ;      ControlSend($hWnd, "", "", "{RIGHT}")
ControlSend("BlueStacks App Player", "", "[CLASS:BlueStacksApp; INSTANCE:1]", "{RIGHT}")

EndFunc   ;==>Example

Expand  

I checked out more versions but nothing work, what i make wrong?

Sorry for my bad english, i'm german.

Best greetz

  • Developers
Posted

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

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.
  :)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...