diff options
author | breadcat | 2015-09-11 16:25:00 +0100 |
---|---|---|
committer | breadcat | 2015-09-11 16:25:00 +0100 |
commit | b14500446f4533efada71f105485f76124783388 (patch) | |
tree | 973d6e15fc525ed09c667d25873efbe57d3e317c | |
parent | 6e39f8fcd855c02fe9913951b5d59775c921e125 (diff) | |
download | ahka-b14500446f4533efada71f105485f76124783388.tar.gz ahka-b14500446f4533efada71f105485f76124783388.tar.bz2 ahka-b14500446f4533efada71f105485f76124783388.zip |
Small improvements
Add comment
Add more typos
Shuffle date/time insertions
-rw-r--r-- | ahk-assistant.ahk | 16 | ||||
-rw-r--r-- | functions.ahk | 6 |
2 files changed, 19 insertions, 3 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk index 6c2bfba..fdc00a9 100644 --- a/ahk-assistant.ahk +++ b/ahk-assistant.ahk @@ -46,7 +46,7 @@ SetNumLockState, AlwaysOn #c::Run calc ^+v::Send %clipboard% ;manually paste clipboard, minus formatting #\::SendMessage 0x112, 0xF170, 2, , Program Manager ;W-\ - screen standby -^!\::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) +^!\::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) ; C-A-\ - system standby SC029::Send, 0 ;Backtick send zeroes +SC029::Send, `` ;S-Backtick send backticks ^SC029::Send, `¬ ;C-Backtick send negations @@ -60,8 +60,6 @@ RAlt & k::AltTab ^!+Down::changeResolution(1280,720) XButton1::Send {Click 2} ;remap logitech m570 x1 to double click XButton2::Send {MButton} ;remap logitech m570 x2 to wheel click -#Space::insertDate() -#+Space::insertDateTime() Insert::appendClipboard() ^!Space::toggleAudioDevice() Ralt & PgUp::Send {WheelUp} @@ -88,6 +86,15 @@ Ralt & PgDn::Send {WheelDown} #NumpadIns::winSplitH() ;W-S-Num0 ;text replacements +:*?:_date:: + insertDate() + Return +:*?:_time:: + insertTime() + Return +:*?:_dtime:: + insertDateTime() + Return :*?:_gw:: insertGateway() Return @@ -178,6 +185,7 @@ Ralt & PgDn::Send {WheelDown} :*?:(div)::÷ :*?:(micro)::µ ;stupid fingers +:*:adn::and :*:teh::the :*:tehy::they :*:taht::that @@ -192,6 +200,8 @@ Ralt & PgDn::Send {WheelDown} :*:secratery::secretary :*:fiber::fibre :*:liase::liaise +:*:sieze::seize +:*:imediate::immediate :*:excercise::exercise ;work stuff :*:ctsty::Called to speak to you, their number is diff --git a/functions.ahk b/functions.ahk index 762a10c..4b46f55 100644 --- a/functions.ahk +++ b/functions.ahk @@ -69,6 +69,12 @@ insertDate() { Return } +insertTime() { + FormatTime, CurrentDateTime,, HHmm + Send %CurrentDateTime% + Return + } + insertDateTime() { FormatTime, CurrentDateTime,, yyyy-MM-dd HHmm Send %CurrentDateTime% |