diff options
Diffstat (limited to 'tt.jump.ahk')
-rw-r--r-- | tt.jump.ahk | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tt.jump.ahk b/tt.jump.ahk index 0a1fe3c..35b6022 100644 --- a/tt.jump.ahk +++ b/tt.jump.ahk @@ -1,12 +1,12 @@ ;; -> init JumpPaths := { s: env("Sync") - , w: env("Sync") "\Projekt\john.ankarstrom.se\htdocs" - , g: env("Sync") "\Projekt\git" - , e: env("Personal") - , d: env("Personal") "\Downloads" - , m: env("Personal") "\MP3" - , p: env("Personal") "\My Pictures" } + , w: env("Sync") "\Projekt\john.ankarstrom.se\htdocs" + , g: env("Sync") "\Projekt\git" + , e: env("Personal") + , d: env("Personal") "\Downloads" + , m: env("Personal") "\MP3" + , p: env("Personal") "\My Pictures" } ;; -> body @@ -18,10 +18,10 @@ SendInput, {Blind}{LWin Up} Input, k, C L1 if (JumpPaths[k] != "") { - if (InStr(FileExist(JumpPaths[k]), "D")) - Run, % "explorer /n, """ JumpPaths[k] """" - else - Run, % """" JumpPaths[k] """" + if (InStr(FileExist(JumpPaths[k]), "D")) + Run, % "explorer /n, """ JumpPaths[k] """" + else + Run, % """" JumpPaths[k] """" } ToolTip return @@ -33,10 +33,10 @@ ToolTip, ... SendInput, {Blind}{LWin Up} Input, k, L1 if (JumpPaths[k] != "") - if ((e := Explorer()) != -1) ; (see tt.programs.explorer.ahk) - e.Navigate(JumpPaths[k]) - else - Run, % "explorer """ JumpPaths[k] """" + if ((e := Explorer()) != -1) ; (see tt.programs.explorer.ahk) + e.Navigate(JumpPaths[k]) + else + Run, % "explorer """ JumpPaths[k] """" ToolTip return @@ -44,6 +44,6 @@ return env(name) { - EnvGet, r, %name% - return r + EnvGet, r, %name% + return r } |