summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2014-12-19 00:45:23 +0000
committerPeter2014-12-19 00:45:23 +0000
commitcce69da5ddc9ff839fffab98c6af102afce69fe1 (patch)
tree69ddc6bc50466716b63512042b9f58581273a51e
parent79503fb317f9813639352e9d769915edea924430 (diff)
downloadahka-cce69da5ddc9ff839fffab98c6af102afce69fe1.tar.gz
ahka-cce69da5ddc9ff839fffab98c6af102afce69fe1.tar.bz2
ahka-cce69da5ddc9ff839fffab98c6af102afce69fe1.zip
Small additions, MPV support
-rw-r--r--.gitignore3
-rw-r--r--ahk-assistant.ahk11
-rw-r--r--appspecific.ahk7
3 files changed, 12 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index 65d7d61..e3ef028 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,3 @@ resswitch.exe
#physical and ip address replacements
secret.ahk
-
-#internal file for work
-telestat.ahk
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 903b256..d1676cb 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -9,6 +9,7 @@ SetTimer, ScriptReload, 1000
SetWinDelay,2
CoordMode,Mouse
SetWorkingDir %A_MyDocuments%\..\
+ProgramFilesX86 := A_ProgramFiles . (A_PtrSize=8 ? " (x86)" : "") ;pfx86 variable from http://www.autohotkey.com/board/topic/79160-a-programfiles-for-programs-in-windows-7-x86-directory/
;keystates
SetCapsLockState, AlwaysOff
@@ -54,11 +55,11 @@ if A_OSVersion in WIN_XP
#p:: ;putty
if A_OSVersion in WIN_XP
{
- Run "%A_MyDocuments%\Vault\conf\putty.exe"
+ Run "%A_MyDocuments%\Vault\git\dotfiles\putty.exe"
}
Else
{
- Run "%A_MyDocuments%\..\Vault\conf\putty.exe"
+ Run "%ProgramFilesX86%\PuTTY\putty.exe"
}
Return
^!k:: ;keepass
@@ -148,10 +149,6 @@ if toggle := !toggle
::(tm)::™
;text replacements
-:*:i'll::I'll
-:*:i've::I've
-:*:i'm::I'm
-:*:teh::the
::seperated::separated
::recieved::received
::license::licence
@@ -159,6 +156,7 @@ if toggle := !toggle
::equivelants::equivalents
::attendent::attendant
::propogate::propagate
+::refridgeration::refrigeration
;work stuff
::ctsty::Called to speak to you, their number is
::gtacb::Called to speak to you, can you give them a call back?
@@ -184,6 +182,7 @@ if toggle := !toggle
::emg80c::LG eMG80-CH204
::ipecs50a::LG iPECS-LIK50A
::ipecs50b::LG iPECS-LIK50B
+::l9048::LG LDP-9048DSS
::l9030::LG LDP-9030D
::l9008::LG LDP-9008D
::lip24::LG LIP-8024E
diff --git a/appspecific.ahk b/appspecific.ahk
index b25cd0c..1abdb47 100644
--- a/appspecific.ahk
+++ b/appspecific.ahk
@@ -56,6 +56,12 @@
p::Send ^7 ;p for playlist
#IfWinActive
+#IfWinActive ahk_class mpv ;mpv
+ Alt & Enter:: ;overflow to fullscreen below
+ Ralt & Enter::Send f ; ralt-enter fullscreens
+ Capslock::Send !{F4} ;quitp
+#IfWinActive
+
#IfWinActive ahk_class rctrl_renwnd32 ;outlook
^Enter::Return ;disable accidentally send email shortcut
#IfWinActive
@@ -89,6 +95,7 @@
^!d::Send ^j ;why Downloads is ctrl+j while addons is ctrl+alt+a will never make sense
^d::Send ^f ;bookmark remapped to find
^b::Send ^v ;replace bookmarks with paste
+ f6::Send ^l ;F6 jumps to address bar
#IfWinActive
#IfWinActive ahk_class Notepad2 ;notepad2-mod