Hide/Show working (able to move windows out of screen and back)
When pressed start and followed by hide, error below.
Code:
2015-01-09 02:52:04 : ~~~~Welcome to COC Bot Pre-Alpha v5.4.1!~~~~
2015-01-09 02:52:04 : Executable running on X64 system
2015-01-09 02:52:04 : Bot is starting...
2015-01-09 02:52:05 : Trying to get to main screen
Thinking it takes times to capture screen, i waited for it to set log Starting bot and capture screen, then followed by hide. Error again below
Code:
2015-01-09 02:30:06 : ~~~~Welcome to COC Bot Pre-Alpha v5.4.1!~~~~
2015-01-09 02:30:07 : Executable running on X64 system
2015-01-09 02:30:07 : Bot is starting...
2015-01-09 02:30:08 : Trying to get to main screen
2015-01-09 02:30:22 : Training Troops...
2015-01-09 02:30:24 : Barrack 1 is not available
2015-01-09 02:30:28 : Barrack 2 is not available
I thinking version of bs/autoit or even hardware problem like graphics card. Seems like the capture region failed to take the coordinate.
Below are my Window info
Code:
>>>> Window <<<<
Title: BlueStacks App Player
Class: WindowsForms10.Window.8.app.0.33c0d9d
Position: 0, 0
Size: 866, 748
Style: 0x16CA0000
ExStyle: 0x00050108
Handle: 0x00000000001F03A0
>>>> Control <<<<
Class: BlueStacksApp
Instance: 1
ClassnameNN: BlueStacksApp1
Name:
Advanced (Class): [CLASS:BlueStacksApp; INSTANCE:1]
ID:
Text: _ctl.Window
Position: 0, 0
Size: 860, 720
ControlClick Coords: 716, 529
Style: 0x58000000
ExStyle: 0x00000000
Handle: 0x00000000003104D0
>>>> Mouse <<<<
Position: 719, 554
Cursor ID: 0
Color: 0x719338
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
>>>> Visible Text <<<<
_ctl.Window
>>>> Hidden Text <<<<