cannot get simple function key scripts to work

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
rayhill1
Posts: 2
Joined: 09 Feb 2018, 13:10

cannot get simple function key scripts to work

15 Feb 2018, 13:57

I have just started with autohotkey and must be making a very basic mistake.

ON win 10 I have created the following:

F12::
Send, 01808521282
Return

It worked once and then nothing happens when i hit F12

Any suggestion would be very welcome
User avatar
SL5
Posts: 879
Joined: 12 May 2015, 02:10
Contact:

Re: cannot get simple function key scripts to work

15 Feb 2018, 15:12

may try this at the beginning.
<code>
#SingleInstance force
#Persistent ; Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered).
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

</code>

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], peter_ahk, septrinus and 311 guests