PHP Code:
//Example from autoitscript.com:
ControlSend("[CLASS:Notepad]", "", "Edit1", "This is a line of text in the notepad window")
Open Notepad and AutoIt Window Info. Move your mouse over the TextBox in the Notepad and u will see:
Window:
Title: Untitled - Notepad
Class: Notepad
Control:
Class: Edit
Instance: 1
Like I said before I don't use AutoIt, but I think you got more options to find the TextBox in the Notepad:
PHP Code:
//Method 1:
ControlSend("[CLASS:Notepad]", "", "Edit1", "Test123")
//Method 2:
ControlSend("", "Untitled - Notepad", "Edit1", "Test123")
//Maybe also:
ControlSend("[CLASS:Notepad]", "Untitled - Notepad", "Edit1", "Test123")
So the first param is the class-name and the second one is the title-name, it should be enough to just enter one of these params..but I'm not sure, just try it out..