Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 59 lines (51 sloc) 1.554 kB
eaa40c7 @robertmeta cleanup
authored
1 ; Key Modifiers:
2 ; # is Windows Key
3 ; ^ is Control
4 ; ! is Alt
5 ; + is Shift
6
7 ; Basic Settings
8 #SingleInstance, Force ; Only want one copy of my hotkeys
9 #NoEnv ; for performance and compatibility with future AutoHotkey releases.
10 ScriptName = Robert Meltons Basics ; obvious really
11 Process, Priority,, H ; abovenormal (just slightly)
12 DetectHiddenWindows, On ; Otherwise WinExists fails on hidden windows
13 SendMode Input ; for new scripts, superior speed and reliability
14 SetTitleMatchMode 2 ; can have a window match anywhere inside it
15 SetTitleMatchMode fast ; use fast mode
16
17 ; Rebind key for stupid Asus Key problem
18 +Del::+Ins
19
20 ; Run Applications
21 #n::
22 Run C:\Users\rmelton-g73\Dropbox\README.markdown
23 return
24 #v::
25 Run C:\Users\rmelton-g73\bin\VMLink
26 return
27 #w::
28 Run C:\Users\rmelton-g73\bin\WorkLink
29 return
30 #t::
31 Run powershell
32 return
33
34 ; Spotify Control
35 #Right::
36 ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow
37 Sleep, 500
38 WinGetTitle, now_playing, ahk_class SpotifyMainWindow
39 StringTrimLeft, playing, now_playing, 10
40 TrayTip, Now playing:, %playing%., 10 , 16
41 return
42 #Left::
43 ControlSend, ahk_parent, ^{Left}, ahk_class SpotifyMainWindow
44 Sleep, 500
45 WinGetTitle, now_playing, ahk_class SpotifyMainWindow
46 StringTrimLeft, playing, now_playing, 10
47 TrayTip, Now playing:, %playing%., 10 , 16
48 return
49 #Down::
50 ControlSend, ahk_parent, {Space}, ahk_class SpotifyMainWindow
51 return
52
53 ; Window Control
54 #o::
55 WinSet, AlwaysOnTop, toggle, A
56 return
57
58
Something went wrong with that request. Please try again.