astranberg

How to launch Bluestacks Android Application?

2 posts in this topic

Hello,

Continuing my project, I am now trying to figure out how to launch an application from within bluestacks. I'm sure there's a ShellExecute() function in there for that somewhere. Can someone who has experience with bluestacks help?

;--> Launch BlueStacks
Global $AndroidPID = ShellExecute("C:\Program Files (x86)\BlueStacks\" & "HD-Frontend.exe", "Android")

;--> Wait for it to load
Global $AndroidHWND
While  $AndroidHWND = False
    $AndroidHWND = WinGetHandle("BlueStacks Android Plugin")
    Sleep(1000)
WEnd

;--> Resize
WinActivate($AndroidHWND)
WinMove($AndroidHWND, '', 0, 0, 500, 900)


Sleep(1000)
;--> Launch 7Wonders

Thanks,

Adam

Share this post


Link to post
Share on other sites



6 minutes ago, astranberg said:

;--> Launch 7Wonders

So much for the "other idea" you claimed to have  ....pretty sad after we have discussed this.
Please don't PM me this time.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.