It was working on bluestacks 3N however after i upgraded it, this problem happened
![Sad :(](./images/smilies/icon_e_sad.gif)
Code: Select all
NP1:
Loop
{
Random, Rdm, 1, 3 ;chooses the key to send
Random, TRdm, 25, 200 ;chooses the delay between sends
if Rdm = 1
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,z,BlueStacks NoxPox1
if Rdm = 2
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,z,BlueStacks NoxPox1
sleep, 100
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,x,BlueStacks NoxPox1
sleep, 100
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,c,BlueStacks NoxPox1
sleep, 100
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,v,BlueStacks NoxPox1
if Rdm = 3
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,z,BlueStacks NoxPox1
sleep, 100
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,b,BlueStacks NoxPox1
sleep, %TRdm%
}
Code: Select all
if Rdm = 3
{
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,z,BlueStacks NoxPox1
sleep, 100
ControlSend,WindowsForms10.Window.8.app.0.1ca0192_r9_ad11,b,BlueStacks NoxPox1
}
Code: Select all
wintitle := "BlueStacks"
Space:: ; hit Space key
ControlFocus, , % wintitle
ControlSend, ,{Esc}, % wintitle
return
Code: Select all
wintitle := "BlueStacks ahk_exe Bluestacks.exe"
1:: ; hit 1
ControlFocus,WindowsForms10.EDIT.app.0.1ca0192_r6_ad11 , % wintitle
ControlSend,WindowsForms10.EDIT.app.0.1ca0192_r6_ad11 ,{Esc}, % wintitle
return
2:: ; hit 2
ControlFocus, , % wintitle
ControlSend, ,{Esc}, % wintitle
return
Users browsing this forum: Bing [Bot], DecimalTurn, Google [Bot], macromint, peter_ahk and 349 guests