Hi,
I just downloaded this great software and after reading around here i decided to ask because i don't find this info anywhere. How can i assign a multimedia key from my keyboard to insert text? I want a key which inserts my email as there are so many times during a day when i have to type this
Is this possible?
This is my keyboard http://www.a4tech.com/product.asp?m=p3& ... 223&id=259
Thanks
Assign a multimedia key to insert my email address (or text)
-
- Posts: 1
- Joined: 05 Mar 2014, 05:44
Re: Assign a multimedia key to insert my email address (or t
Code: Select all
Media_Play_Pause::
Run, notepad
WinWait, ahk_class Notepad
IfWinNotActive, ahk_class Notepad, ,WinActivate, ahk_class Notepad
WinWaitActive, ahk_class Notepad
Sleep, 100
SendInput, This is my email adress:`n%A_Tab%[email protected]
Return
See http://www.autohotkey.com/docs/KeyList.htm
and http://www.autohotkey.com/docs/Tutorial.htm
Re: Assign a multimedia key to insert my email address (or t
Or simply
Put the above line in a text file and save it with the extension .ahk. Then copy tat file to your Startup folder in the Start Menu (making it automatically run when you log in) and run it. Pressing the Play/Pause key will type your email address.
Code: Select all
Media_Play_Pause::Send, myname@domain