Sign in to follow this  
Followers 0
crazycrash

Assign controlID to a windows for ControlSend

1 post in this topic

#1 ·  Posted (edited)

Hi guys

This question is for a directx game window that has no controlID. I was wondering if it is somehow possible to assign a controlID to that window directxwindow, so one could use the controlsendfunction for that window. (if somebody is interested, it is for the game everquest2)

I wrote the code below, thought that could work, but it doesnt, neither for everquest nor for notepad..

Sleep(1000)
$Handle = "maybe.txt - Notepad"
ControlFocus ( $Handle, '', '') 
ControlSend( $Handle, '', '', "Hello")

Thanks a lot in advance,

Adrian

Edited by crazycrash

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