I am trtying to use autohotkey on both a W7 and W10 system. To start with I only want to use the Function keys and assign common entry values to them.
On my w7 system I have a number of keys set up: e.g.
F12::
Send, [email protected]
Return
F10::
Send, 01808521282
Return
The snag is that F12 works while F10 doesn't.
On the W10 system they don't work at all
Any suggestions would be very welcome
failure using function keys
Re: failure using function keys
Code: Select all
~F12::Send, [email protected]
~F10::Send, 01808521282
Re: failure using function keys
Working on my end, maybe its prob on ur pc. Try creating new script file, restarting the script/pc. Btw to use those return you have to have ur script like this
Gl
Code: Select all
F12::
Send, [email protected]{return}
F10::
Send, 01808521282{return}
Re: failure using function keys
Try making a new script file and use this code
Tested...nd remove the "{return}" if you don't want the enter key pressed at the end
Code: Select all
F12::Send [email protected]{return}
F10::Send 01808521282{return}
Re: failure using function keys
Although that does force the uses of the hook, which would eliminate interfering registered hotkeys by other applications, it does pass though the native function (like F10 activating the menu bar, which is likely not what you want, when inputting text.BoBo wrote:Not tested.Code: Select all
~F12::Send, [email protected] ~F10::Send, 01808521282
So I'd suggest using $ instead of ~.