Jump to content

Assign controlID to a windows for ControlSend


Recommended Posts

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
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...