Hi!
Sorry for this newbie question, but I don't know what to search for really. I want to specify a string in a variable and then have AHK to type each character as I would have pressed the keyboard (no paste).
I could do a bunch of "IF's", but is there any easier way?
How to make autohotkey enter a string
Started by
Macce
, Dec 29 2004 06:22 PM
3 replies to this topic
#1
-
Posted 29 December 2004 - 06:22 PM
Ok, I guess the only way is to extract a sub-string of one char at the time and do "IF ch = 'a' " and so on..
If anyone has a better way, please let me know!
Hm, would it be possible to use ascii-codes maybe?
If anyone has a better way, please let me know!
Hm, would it be possible to use ascii-codes maybe?
#2
-
Posted 30 December 2004 - 01:28 AM
Stumbled upon the "Send" and "SendRaw" command when browsing the help.
That does exactly what I want. Sorry for taking your time!
That does exactly what I want. Sorry for taking your time!
#3
-
Posted 30 December 2004 - 01:42 AM
Rather than trying to learn just by looking through the commands, you can save a lot of time by reading the Quick-start Tutorial
#4
-
Posted 30 December 2004 - 11:40 AM