summaryrefslogtreecommitdiffstats
path: root/ahk-assistant.ahk
diff options
context:
space:
mode:
authorbreadcat2015-04-10 02:52:05 +0100
committerbreadcat2015-04-10 02:52:05 +0100
commita62b6fa6954ed61c199315756bac847e458aa3d9 (patch)
tree30cf2220623c6a7e4a9bed445eaae5e563412950 /ahk-assistant.ahk
parent41360bb2158aaa026b8e55c9c69ce42881be2aaf (diff)
downloadahka-a62b6fa6954ed61c199315756bac847e458aa3d9.tar.gz
ahka-a62b6fa6954ed61c199315756bac847e458aa3d9.tar.bz2
ahka-a62b6fa6954ed61c199315756bac847e458aa3d9.zip
Larger than the average commit
Fixed volume hotkeys Added horizontal split tile function Remove some surplus exe extensions Add foreign language character input Expand borderless script Reduce some verbosity
Diffstat (limited to 'ahk-assistant.ahk')
-rw-r--r--ahk-assistant.ahk58
1 files changed, 45 insertions, 13 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index d17caca..1ca7b48 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -23,9 +23,9 @@ SetNumLockState, AlwaysOn
;hotkeys
#q::Run notepad
^q::Send !{F4} ;quit most programs
-#+q::Run notepad.exe "%A_MyDocuments%\Vault\docs\faulties.txt"
-#w::Run firefox.exe
-#+w::Run firefox.exe -private-window
+#+q::Run notepad "%A_MyDocuments%\Vault\docs\faulties.txt"
+#w::Run firefox
+#+w::Run firefox -private-window
#e::dirWorking()
#+e::dirSync()
^!e::Run ::{20d04fe0-3aea-1069-a2d8-08002b30309d} ;my computer
@@ -39,15 +39,16 @@ SetNumLockState, AlwaysOn
#p::Run "%ProgramFilesX86%\PuTTY\putty.exe" ;putty
^!k::launchKeepass()
#c::Run calc
-#\::SendMessage 0x112, 0xF170, 2, , Program Manager ;win+\ - screen standby
+#\::SendMessage 0x112, 0xF170, 2, , Program Manager ;W-\ - screen standby
SC029::Send, 0 ;Backtick send zeroes
+SC029::Send, `` ;S-Backtick send backticks
^SC029::Send, `¬ ;C-Backtick send negations
RAlt & j::ShiftAltTab
RAlt & k::AltTab
CapsLock::BackSpace
-!^0::SoundSet +5 ;volume up
-!^9::SoundSet -5 ;volume down
+!^0::Send {Volume_Mute} ;C-A-0 volume mute toggle
+!^-::Send {Volume_Down} ;C-A-- volume down
+!^=::Send {Volume_Up} ;C-A-+ volume up
^!+Up::run %A_ScriptDir%\resswitch.exe /WIDTH:1920 /HEIGHT:1080 ;1080p screen resolution
^!+Down::run %A_ScriptDir%\resswitch.exe /WIDTH:1280 /HEIGHT:720 ;720p screen resolution
XButton1::Send {Click 2} ;remap logitech m570 x1 to double click
@@ -74,21 +75,53 @@ Insert::appendClipboard()
#Numpad8::Tile("T")
#Numpad9::Tile("TR")
#Numpad0::winSplit()
+#NumpadIns::winSplitH()
-;auto replace text with symbols
+;text replacements
+;swedish
+:c*:(Ao)::Å
+:c*:(ao)::å
+:c*:(Ai)::Ä
+:c*:(ai)::ä
+:c*:(Oi)::Ö
+:c*:(oi)::ö
+;german
+:c*:(Ui)::Ü
+:c*:(ui)::ü
+:*:(ss)::ß
+;spanish
+:c*:(Ny)::Ñ
+:c*:(ny)::ñ
+:c*:(A-)::Á
+:c*:(a-)::á
+:c*:(E-)::É
+; :c*:(e-)::é ;conflicts with C-A-e insert which is annoying
+Ralt & e::typeAcuteE() ;awful, awful workaround
+:c*:(I-)::Í
+:c*:(i-)::í
+:c*:(O-)::Ó
+:c*:(o-)::ó
+:c*:(U-)::Ú
+:c*:(u-)::ú
+:*:(!!)::¡
+:*:(??)::¿
+;symbols
:*:(c)::©
:*:(r)::®
:*:(tm)::™
-
-;text replacements
+:*:(ee)::€
+:*:(deg)::°
+;stupid fingers
::seperated::separated
::seperate::separate
+::recieve::receive
::recieved::received
::license::licence
::licenses::licences
::equivelant::equivalent
::equivelants::equivalents
::attendent::attendant
+::consistant::consistent
::propogate::propagate
::refridgeration::refrigeration
;work stuff
@@ -126,8 +159,7 @@ Insert::appendClipboard()
::lip4::LG LIP-8004D
:*:bte`t::BT Elements
:*:btd`t::BT Diverse 7110+
-
-;auto/tab completions
+;tab completions
:*:gd`t::typeSyncDocs()
:*:md`t::typeDocuments()
:*:db`t::typeSync()
@@ -193,8 +225,8 @@ Insert::appendClipboard()
#IfWinActive ahk_class XLMAIN ;excel
^+v::Send {Esc}{Up}^c{Down}^v{Esc}{Down} ;ctrl+shift+v copies above cell into current
- ^F2::Send {AltDown}o{AltUp}hr ;rename sheet
- F3::Send {CtrlDown}f{CtrlUp}{Enter}{Escape} ;f3 searches for the same string again
+ ^F2::Send !ohr ;rename sheet
+ F3::Send ^f{Enter}{Escape} ;f3 searches for the same string again
F6::excelFormulaBar()
#IfWinActive