summaryrefslogtreecommitdiffstats
path: root/appspecific.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'appspecific.ahk')
-rw-r--r--appspecific.ahk23
1 files changed, 21 insertions, 2 deletions
diff --git a/appspecific.ahk b/appspecific.ahk
index 080d76c..7ee960a 100644
--- a/appspecific.ahk
+++ b/appspecific.ahk
@@ -1,9 +1,28 @@
;explorer
#IfWinActive ahk_class CabinetWClass
- Capslock::Send !{Up} ;capslock goes up a folder
+ Capslock:: ;up one folder
+ if A_OSVersion in WIN_XP
+ {
+ Send {Backspace}
+ }
+ Else
+ {
+ Send !{Up}
+ }
+ Return
F6::Send !d ;addressbar
- F1::Send {F2} ;disable help, enable rename
+ F1:: ;overflow to rename, help is useless in explorer
+ F2:: ;rename commands
+ if A_OSVersion in WIN_XP
+ {
+ Send {F2}{Ctrldown}{Home}{Shiftdown}{End}{Ctrlup}{Left 4}{Shiftup} ; rename (hopefully) deselects file extension
+ }
+ Else
+ {
+ Send {F2}
+ }
+ Return
#IfWinActive
;photoviewer