6
General Software Discussion / Re: Question about AutoHotkey scripting
« on: August 01, 2010, 08:37 PM »
Not sure what you're trying to send by pressing the keys, but something like this works:
Pressing the "t" 3 times sends the current time in HH:mm format
To send a text string, this works:
Might try something along those lines if it will work for you. I use the ones above and others similar all the time to save me time with commonly typed text, etc. Note that I have them set to send after 3 keypresses as hardly any words I will ever type contain 3 of those letters in succession.
Code: Autohotkey [Select]
- :R*?:ttt::
- SendInput %CurrentDateTime%
- return
To send a text string, this works:
Code: Autohotkey [Select]
Typing "p" 3 times sends This is my string of textMight try something along those lines if it will work for you. I use the ones above and others similar all the time to save me time with commonly typed text, etc. Note that I have them set to send after 3 keypresses as hardly any words I will ever type contain 3 of those letters in succession.