summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.ahk24
1 files changed, 10 insertions, 14 deletions
diff --git a/index.ahk b/index.ahk
index fbf0648..b0626ec 100644
--- a/index.ahk
+++ b/index.ahk
@@ -1,13 +1,14 @@
-; ^Ctrl #Win !Alt +Shift
+; ^ctrl #Win !Alt +Shift
;environment
#NoEnv
#SingleInstance,Force
-#InstallKeybdHook ;not strictly necessary, kept for legacy reasons
ws_MinHeight = 25
SetWinDelay, -1
SetBatchLines, -1
-SetWorkingDir, C:\Users\%A_UserName%
+if A_OSVersion in WIN_NT4,WIN_95,WIN_98,WIN_ME,WIN_XP {
+SetWorkingDir, %A_MyDocuments% } Else {
+SetWorkingDir, C:\Users\%A_UserName% }
;keystates
SetCapsLockState, AlwaysOff
@@ -17,17 +18,12 @@ SetNumLockState, AlwaysOn
;hotkeys
#q::Run notepad
^q::Send {ALTDOWN}{F4}{ALTUP} ;quit most programs
-^!q::Run "AppData\Local\Chromium\User Data\Default\User StyleSheets\Custom.css" ;chrome global css
#w::Run "C:\Program Files (x86)\Chromium\chrome.exe"
#+w::Run "C:\Program Files (x86)\Chromium\chrome.exe" -incognito
-#e::Run explorer C:\Users\%A_UserName%\Downloads ;won't work with relative paths, has to be absolute
-#+e::Run explorer C:\Users\%A_UserName%\Dropbox ;won't work with relative paths, has to be absolute
-^!e::Run ::{20d04fe0-3aea-1069-a2d8-08002b30309d} ;my computer
^!r::Run mstsc ;remote desktop connection
#t::Run C:\cygwin\bin\mintty.exe -
#+t::Run cmd
#u::return
-#p::Run "Dropbox\conf\putty.exe"
#c::Run calc
#\::SendMessage 0x112, 0xF170, 2, , Program Manager ;win+\ - screen standby
RAlt & j::ShiftAltTab
@@ -38,11 +34,10 @@ Capslock::Backspace
XButton1::Send {Click}{Click} ;double click
XButton2::Send {MButton} ;wheel click
-;tab completions/replacements
-:*:gd`t::C:\Users\Peter\Dropbox\docs\
-:*:db`t::C:\Users\Peter\Dropbox\
-:*:md`t::C:\Users\Peter\Downloads\
-:*:cw`t::C:\cygwin\home\Peter\
+;bullshit ps/2 to usb adapter workarounds
+#f::sendraw \
+#^f::sendraw |
+^+f::sendraw |
;auto replace text with symbols
::(c)::©
@@ -73,4 +68,5 @@ return
;includes
#Include, %A_ScriptDir%\appspecific.ahk
#Include, %A_ScriptDir%\tiling.ahk
-#Include, %A_ScriptDir%\mousewin.ahk \ No newline at end of file
+#Include, %A_ScriptDir%\mousewin.ahk
+#Include, %A_ScriptDir%\secret.ahk ;os specific, contains personally identifiable data.