Page 1 of 1

failure using function keys

Posted: 09 Feb 2018, 13:40
by rayhill1
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

Re: failure using function keys

Posted: 09 Feb 2018, 13:58
by BoBo

Code: Select all

~F12::Send, [email protected]
~F10::Send, 01808521282
Not tested.

Re: failure using function keys

Posted: 09 Feb 2018, 14:37
by TheManiacNextDoor
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

Code: Select all

F12::
Send, [email protected]{return}

F10::
Send, 01808521282{return}
Gl

Re: failure using function keys

Posted: 09 Feb 2018, 14:46
by Cyber
Try making a new script file and use this code

Code: Select all

F12::Send [email protected]{return}
F10::Send 01808521282{return}
Tested...nd remove the "{return}" if you don't want the enter key pressed at the end

Re: failure using function keys

Posted: 09 Feb 2018, 18:22
by Nextron
BoBo wrote:

Code: Select all

~F12::Send, [email protected]
~F10::Send, 01808521282
Not tested.
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.

So I'd suggest using $ instead of ~.