NetworkConsultant01
asked on
Can I bind my function keys to do things in Vista?
Basically I would like to bind say F7 to paste a string of text so I don't have to type it manually. Any free Vista software that can do this for me?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make sure, Autohotkey is installed on your system. Copy the code below into a simple text file (notepad) and save the file as mykeys.ahk. Double-click the .ahk file.
Then, whenever the cursor is in a text input fiels and you press F9, you will get "cat", for F6 you will get "dog". Expand as you please.
After a reboot, you key mappings are back to normal. If you always want them active, put a link to the .ahk file into the 'Startup' folder.
Then, whenever the cursor is in a text input fiels and you press F9, you will get "cat", for F6 you will get "dog". Expand as you please.
After a reboot, you key mappings are back to normal. If you always want them active, put a link to the .ahk file into the 'Startup' folder.
Sorry, forgot the code. Here it is:
F9::
Send cat
return
F6::
Send dog
return
As long as Autohotkey is running in the background, there is an icon with an 'H' in the system tray.
Right-click it to edit or pause the script, suspend hotkeys or exit Autohotkey (which will turn your key mappings back to normal).
Right-click it to edit or pause the script, suspend hotkeys or exit Autohotkey (which will turn your key mappings back to normal).
ASKER
Nice, it works. Is it possible to make it press enter at the end so I don't have to :D
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Nice, you the man, had to remove the space after cat and before {enter} since it saw the white space but works just like I wanted.
ASKER