aboutsummaryrefslogtreecommitdiff
path: root/tt.jump.ahk
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-12-01 22:42:41 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-12-01 22:42:41 +0100
commit6348db6799aede103ed69522affc79411cb67e1c (patch)
treeb8a4cb85f9e6dfd28dececdc8a979f532d4f6d48 /tt.jump.ahk
parentd8c55b56e139a1b624f25345dc616c9f610deea6 (diff)
downloadahk-6348db6799aede103ed69522affc79411cb67e1c.tar.gz
Switch from spaces to tabswindowsxp
Diffstat (limited to 'tt.jump.ahk')
-rw-r--r--tt.jump.ahk32
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
}