; reload the autohotkey script.
^!r::Reload
; input date and time
#d::
FormatTime, mydatetime,, M/d/yyyy HH:mm:ss
SendInput, %mydatetime%
return
; input date
#f::
FormatTime, mydate,, M/d/yyyy
SendInput, %mydate%
return
; input date
#y::
FormatTime, mydate,, yyyy-MM-dd
SendInput, %mydate%
return
; press ctrl-alt 1
^!1::
SendInput, Hello World
return
; In command prompt window, press shift + insert to paste from clipboard
#IfWinActive ahk_class ConsoleWindowClass
<+Insert::
SendInput, {Raw}%clipboard%
return
#IfWinActive
Sunday, May 13, 2018
AutoHotkey
example.ahk:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment