Sign in to follow this  
Followers 0
Sabrac

[HELP]ControlSend

4 posts in this topic

ControlSend isn't work in my window, my window don't hav controlid, how can i send key inactive to my window without controlid???

Share this post


Link to post
Share on other sites



What kind of window is, give us more informations. An alternative of ControlSend is ControlFocus+Send.


When the words fail... music speaks

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

Anyone help me pleaseeeeee

Share this post


Link to post
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
Sign in to follow this  
Followers 0