Color-Guitar Hotkeys (keyboard shortcuts) Setup


Basic one-touch shortcut Hotkeys are already active in Modal-Surf as you should have Java-Script enabled. These include the following: Browser Back & Forward, Mute & Play Chord, and Repeat a certain amount of chords (up to 12) or back to the beginning of your whole Loop, which can be much longer than 12 chords. Our Advanced Hotkeys are made possible by the free software AutoHotkey for Windows, enabling additional one-touch controls for Saving and Loading Songs. Reference the complete hotkey layout under 'Guide' while Modal-Surfing as basic & advanced features are indicated. Set up advanced hotkeys by following the detailed steps below:

 

Modal-Surf Hotkey Layout
 


Step #1:

Install AutoHotKey for Windows



Step #2:

You can Unpin icon from Taksbar


Step #3:

Right-Click Desktop > New > AutoHotKey Script



________________________________________________________

Step #5:

Copy the following Text and Paste it into the AutoHotkey
file, overwriting the existing text since the same text is
provided here simplified. Close the Notepad and Save.


Step #4:

Right-Click the Hotkey Icon > Open With Notepad



________________________________________________________

Step #6:

Right-Click the Hotkey Icon > Run Script

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

GroupAdd, modalsurf0, Color-Guitar Modal-Surf
GroupAdd, modalsurf0, Color-Guitar Jam To Songs
GroupAdd, modalsurf0, Color-Guitar Jam To Tracks

Esc::
MsgBox 0, Color-Guitar.Com, Hotkeys Are Closing Now, 3
ExitApp
Return

;-----------------------------------------browser actions

#IfWinActive ahk_group modalsurf0
,::
Backspace::
Send {Browser_Back}
Return

#IfWinActive ahk_group modalsurf0
.::
Space::
Send {Browser_Forward}
Return

;----------------------------to autocopy url into notepad

#IfWinActive, Color-Guitar Modal-Surf
s::
ifWinNotExist ahk_class Notepad
{
MsgBox 0, Color-Guitar Hotkeys [ S ] Save URL, Save Feature Requires an Active Notepad File, 3
Return
}
Send, !d
Sleep 170
Send, {right}
Sleep 130
Send, {backspace 37}
Sleep 130
Send, !d
Sleep 170
Send, ^c
Sleep 170
Send {Browser_Refresh}
Sleep 200
ifWinExist ahk_class Notepad
WinActivate
sleep 670
Send, ^v
Send, {enter}
Send, {enter}
Sleep 560
WinMinimize
Sleep 270
Send {Browser_Forward}
Return

;----------------------------to autocopy 4 urls into notepad

#IfWinActive, Color-Guitar Modal-Surf
f::
ifWinNotExist ahk_class Notepad
{
MsgBox 0, Color-Guitar Hotkeys [ F ] Save 4 URLs, Save Feature Requires an Active Notepad File, 3
Return
}
Loop 3
{
Send, !d
Sleep 170
Send, {right}
Sleep 130
Send, {backspace 37}
Sleep 130
Send, !d
Sleep 170
Send, ^c
Sleep 170
Send {Browser_Refresh}
Sleep 200
ifWinExist ahk_class Notepad
WinActivate
sleep 670
Send, ^v
Send, {enter}
Send, {enter}
Sleep 560
WinMinimize
Sleep 270
Send {Browser_Forward}
sleep 920
}
Send, !d
Sleep 170
Send, {right}
Sleep 130
Send, {backspace 37}
Sleep 130
Send, !d
Sleep 170
Send, ^c
Sleep 170
Send {Browser_Refresh}
Sleep 200
ifWinExist ahk_class Notepad
WinActivate
sleep 670
Send, ^v
Send, {enter}
Send, {enter}
Sleep 560
WinMinimize
Sleep 270
Send {Browser_Forward}
Return

;---------------------------to autocopy 12 urls into notepad

#IfWinActive, Color-Guitar Modal-Surf
t::
ifWinNotExist ahk_class Notepad
{
MsgBox 0, Color-Guitar Hotkeys [ Y ] Save 12 URLs, Save Feature Requires an Active Notepad File, 3
Return
}
Loop 11
{
Send, !d
Sleep 170
Send, {right}
Sleep 130
Send, {backspace 37}
Sleep 130
Send, !d
Sleep 170
Send, ^c
Sleep 170
Send {Browser_Refresh}
Sleep 200
ifWinExist ahk_class Notepad
WinActivate
sleep 670
Send, ^v
Send, {enter}
Send, {enter}
Sleep 560
WinMinimize
Sleep 270
Send {Browser_Forward}
sleep 920
}
Send, !d
Sleep 170
Send, {right}
Sleep 130
Send, {backspace 37}
Sleep 130
Send, !d
Sleep 170
Send, ^c
Sleep 170
Send {Browser_Refresh}
Sleep 200
ifWinExist ahk_class Notepad
WinActivate
sleep 670
Send, ^v
Send, {enter}
Send, {enter}
Sleep 560
WinMinimize
Sleep 270
Send {Browser_Forward}
Return

;----------------------------to load url from notepad to browser

#IfWinActive, Color-Guitar Modal-Surf
l::
ifWinNotExist ahk_class Notepad
{
MsgBox 0, Color-Guitar Hotkeys [ L ] Load URL, Load Feature Requires an Active Notepad File, 3
Return
}
ifWinExist ahk_class Notepad
WinActivate
sleep 161
Send, +{down}
Sleep 181
Send, ^c
Sleep 181
Send, {down}
WinMinimize
Sleep 181
Send, !d
Sleep 181
Send, ^v
Sleep 6
Send, {enter}
Return

;------------------------ load next 4 urls from notepad to browser

#IfWinActive ahk_group modalsurf0
n::
ifWinNotExist ahk_class Notepad
{
MsgBox 0, Color-Guitar Hotkeys [ N ] Load 4 URLs, Load Feature Requires an Active Notepad File, 3
Return
}
Loop 3
{
ifWinExist ahk_class Notepad
WinActivate
sleep 161
Send, +{down}
Sleep 181
Send, ^c
Sleep 181
Send, {down}
WinMinimize
Sleep 181
Send, !d
Sleep 181
Send, ^v
Sleep 6
Send, {enter}
Sleep 2700
}
;----------------------------------
ifWinExist ahk_class Notepad
WinActivate
sleep 161
Send, +{down}
Sleep 181
Send, ^c
Sleep 181
Send, {down}
WinMinimize
Sleep 181
Send, !d
Sleep 181
Send, ^v
Sleep 6
Send, {enter}
Return

;------------------------ load next 12 urls from notepad to browser

#IfWinActive ahk_group modalsurf0
u::
ifWinNotExist ahk_class Notepad
{
MsgBox 0, Color-Guitar Hotkeys [ U ] Load 12 URLs, Load Feature Requires an Active Notepad File, 3
Return
}
Loop 11
{
ifWinExist ahk_class Notepad
WinActivate
sleep 161
Send, +{down}
Sleep 181
Send, ^c
Sleep 181
Send, {down}
WinMinimize
Sleep 181
Send, !d
Sleep 181
Send, ^v
Sleep 6
Send, {enter}
Sleep 2700
}
;----------------------------------
ifWinExist ahk_class Notepad
WinActivate
sleep 161
Send, +{down}
Sleep 181
Send, ^c
Sleep 181
Send, {down}
WinMinimize
Sleep 181
Send, !d
Sleep 181
Send, ^v
Sleep 6
Send, {enter}
Return

;---------------------------notify that notepad must be minimized

#IfWinActive, ahk_class Notepad
s::
f::
t::
MsgBox 0, Color-Guitar Hotkeys Active, To Save Url - Minimize Notepad First, 3
Return

#IfWinActive, ahk_class Notepad
l::
n::
u::
MsgBox 0, Color-Guitar Hotkeys Active, To Load Urls - Minimize Notepad First, 3
Return

;------------------------------------negate keys when in notepad

#IfWinActive, ahk_class Notepad
a::
b::
c::
d::
e::
g::
h::
i::
j::
k::
m::
o::
p::
q::
r::
v::
w::
x::
y::
z::
1::
2::
3::
4::
5::
6::
7::
8::
9::
0::
Tab::
Space::
LShift::
RShift::
Control::
Backspace::
-::
=::
+::
,::
.::
/::
Numpad1::
Numpad2::
Numpad3::
Numpad4::
Numpad5::
Numpad6::
Numpad7::
Numpad8::
Numpad9::
Numpad0::
Right::
Left::
MsgBox 0, Color-Guitar Hotkeys Active, Typing Into Notepad Is Prevented, 3
Return

;------------------------------regulate messagebox

#IfWinActive, Color-Guitar Hotkeys Active
g::
h::
o::
NumpadAdd::
=::
NumpadSub::
-::
Return

;------------------------------------adjust volume

SetTitleMatchMode, 2
#IfWinActive, Color-Guitar
o::
Send {Volume_Mute}
Return

SetTitleMatchMode, 2
#IfWinActive, Color-Guitar
NumpadAdd::
=::
Send {Volume_Up}
Return

SetTitleMatchMode, 2
#IfWinActive, Color-Guitar
NumpadSub::
-::
Send {Volume_Down}
Return

;--------------------------------------change tabs

SetTitleMatchMode, 2
#IfWinActive, Color-Guitar
g::
Send ^+{Tab}
Return

SetTitleMatchMode, 2
#IfWinActive, Color-Guitar
h::
Send ^{Tab}
Return

;--------------------------------negate up & down arrows

#IfWinActive ahk_group modalsurf0
down::
Return

#IfWinActive ahk_group modalsurf0
up::
Return

;------------------notify used buttons if not in browser

SetTitleMatchMode, 2
#IfWinNotActive, Color-Guitar
a::
b::
c::
d::
e::
f::
g::
h::
i::
j::
k::
l::
m::
n::
o::
p::
q::
r::
s::
t::
u::
v::
w::
x::
y::
z::
1::
2::
3::
4::
5::
6::
7::
8::
9::
0::
Tab::
Space::
LShift::
RShift::
Control::
Backspace::
-::
=::
+::
,::
.::
/::
Numpad1::
Numpad2::
Numpad3::
Numpad4::
Numpad5::
Numpad6::
Numpad7::
Numpad8::
Numpad9::
Numpad0::
Right::
Left::
Alt::

MsgBox 0, Color-Guitar Hotkeys Active, Press Escape to Quit Hotkeys, 3
Return