Jump to content

ControlSend()


Recommended Posts

lol ok well its late, give me a break. Lol I had a massive brain fart.

and i just tested it again

and it returns 1 indicating it is working but it still does not work and this is really starting to annoy me.

It keeps sending Enter to what ever window is active and not the the correct window

is there anyway to use the Class or Cursor id to do this?

Edited by narayanjr
Link to comment
Share on other sites

This Worked Fine.. :]

Yes I Did Test It With ItemLevel.exe In C:\

;===============================
;= AutoIt Version ....: 3.2.10.0
;===============================

If Not ProcessExists ('ItemLevel.exe') Then 
ConsoleWrite ('Error Program Not Running' & @CRLF)
Exit 
EndIf 

$Win_Title = WinGetTitle ('C:\Item')
WinSetTitle ($Win_Title, '', 'Item Level')
$New_Title = ('Item Level')
ControlSend ($New_Title, '', '', '{Enter}')

Hope This Helps o_o

~ John

Latest Projects :- New & Improved TCP Chat

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