From 84febe0f2145a22b31057d21bbb660a50d263bfb Mon Sep 17 00:00:00 2001 From: breadcat Date: Tue, 9 Jun 2015 00:09:27 +0100 Subject: Further improvements Improve XP file renaming function Add more hotstrings Standardised clipboard variable names. Variables are also cleared after use. --- ahk-assistant.ahk | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'ahk-assistant.ahk') 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 -- cgit v1.2.3