Right. I am, in fact, using a program that allows me to do that kind of thing (
http://www.sector-se.../software/controlpad), but I'm really interested in trying to learn how to use AHK. If something useful comes out of this, that would be frosting on the cake.
This program I stole straight out of the docs:
InputBox, UserInput, Phone Number, Please enter a phone number., , 640, 480
if ErrorLevel
MsgBox, CANCEL was pressed.
else
MsgBox, You entered "%UserInput%"
This works fine and the variable containing the user's input does half of what I want. Instead of the 2nd Msg Box, I want to send a sentence like Your phone number is %UserInput% to Word or Notepad or some other app. I've tried replacing the 2nd MsgBox line with a Send command. That didn't work. I tried assigning a hotkey to the script, so I could actually be sitting in my target app when I called the script up. That didn't work. I've been looking at WinActivate, but I'm not sure how to use that. Mainly, I'm not sure if the problem is in the script (syntax) or that I'm lacking a command.