Jump to content

[HELP]ControlSend


Recommended Posts

This is game window:

>>>> Window <<<<

Title: ±ÍÈ¥(Сûë)

Class: GhostSoul

Position: 240, 926

Size: 1030, 793

Style: 0x16C00000

ExStyle: 0x00000108

Handle: 0x003E090C

>>>> Control <<<<

Class:

Instance:

ClassnameNN:

Name:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle:

>>>> Mouse <<<<

Position: 678, 83

Cursor ID: 0

Color: 0x302C3C

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

I wanna send key to this window while it's inactive

I was try this:

HotKeySet("{F10}","ExitAuto")
Func ExitAuto()
    Exit
EndFunc
$hWnd = WinGetHandle("[CLASS:GhostSoul]")

While 1=1
    ControlSend($hWnd,"","","{NUMPAD3}")
    Sleep(1000)
WEnd

but it's not work

Edited by Sabrac
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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