summaryrefslogtreecommitdiffstats
path: root/ahk-assistant.ahk
diff options
context:
space:
mode:
authorbreadcat2015-06-09 00:09:27 +0100
committerbreadcat2015-06-09 00:09:27 +0100
commit84febe0f2145a22b31057d21bbb660a50d263bfb (patch)
tree65c9d03a0cd6e5ead421d12e194b87025b4c13ad /ahk-assistant.ahk
parentbbfa0900799f838ef934f08ad682e3985115a571 (diff)
downloadahka-84febe0f2145a22b31057d21bbb660a50d263bfb.tar.gz
ahka-84febe0f2145a22b31057d21bbb660a50d263bfb.tar.bz2
ahka-84febe0f2145a22b31057d21bbb660a50d263bfb.zip
Further improvements
Improve XP file renaming function Add more hotstrings Standardised clipboard variable names. Variables are also cleared after use.
Diffstat (limited to 'ahk-assistant.ahk')
-rw-r--r--ahk-assistant.ahk18
1 files changed, 15 insertions, 3 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 0251c5e..9c45709 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -6,11 +6,14 @@
#NoEnv
#SingleInstance,Force
SetTimer, ScriptReload, 1000
-SetWinDelay,2
+SetWinDelay,0
+SetKeyDelay,0
+SetControlDelay,0
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
SetScrollLockState, AlwaysOff
@@ -82,10 +85,10 @@ Insert::appendClipboard()
#NumpadIns::winSplitH()
;text replacements
-:*:_r::
+:*?:_reg::
insertRegards()
Return
-:*:_kr::
+:*?:_kreg::
insertKindRegards()
Return
:*:_em::
@@ -161,6 +164,10 @@ Insert::appendClipboard()
:*?:(tm)::™
:*?:(ee)::€
:*?:(deg)::°
+:*?:(half)::½
+:*?:(quart)::¼
+:*?:(div)::÷
+:*?:(micro)::µ
;stupid fingers
:*:seperated::separated
:*:seperate::separate
@@ -213,6 +220,11 @@ Insert::appendClipboard()
:*:_btd::BT Diverse 7110+
;application specific hotkeys
+#IfWinActive ahk_class #32770 ;save/load dialog
+ F1:: ;overflow to rename, help is useless in explorer
+ F2::explorerRename() ;rename commands
+#IfWinActive
+
#IfWinActive ahk_class CabinetWClass ;explorer
CapsLock::explorerUp()
Alt & Enter:: ;overflow