 ;   Send {enter}   // will send the enter key
 ; #############################################################################
 
-
 ; ################################## EXAMPLES #################################
 ;
 ; 1. Run some arbitrary program

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance

;hotkey (CTRL + WIN + z) function (Refresh AHK script in workspace)
^<#z::
   Run, "C:\Users\gordon\workspace\firstauto.ahk"
   Sleep 50
   Send {enter}
Return
;
; ############################# MAPPING REFERENCE #############################
; ^ = Control Key
; Tab = Tab


; ################################ OPENING APPS ###############################

; hotkey (ALT + WIN + C) function (Open Calculator)
^#c::Run, calc.exe

; hotkey (WIN + V) function (Open VPN Apps)
#v::
    Run, "C:\Program Files (x86)\Symantec\VIP Access Client\VIPUIManager.exe"
    Sleep 150
    Run, "C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe"
Return

; hotkey (CTRL + WIN + j) function (Open Git Bash)
^<#j:: Run, "C:\Program Files\Git\git-bash.exe"

; ########################### CHROME RELATED HOTKEYS ###########################

; hotkey (SHIFT + MOUSE_BACK) function (Go to previous tab)
+XButton1:: Send {LCtrl down}{LShift down}{Tab}{LCtrl up}{LShift up}
; hotkey (SHIFT + MOUSE_FORWARD) function (Go to next tab)
+XButton2::Send {LCtrl down}{Tab}{LCtrl up}

; Meh + V, copy highlighted text, open new chrome tab, and go.
^+!#z::
{
 Send, ^c
 Sleep 50
 Run, http://www.google.com/search?q=%clipboard%
 Return
 ; TODO - if context is a terminal, if so, use ctfrl + insert.
}


; #############################################################################

;CapsLock::LCtrl
;LCtrl::CapsLock

; ################### MOUSE SENSITIVITY SETTINGS #########################

; hotkey (CTRL + WIN + m) function(Set mouse speed to 10)
^<#m::
  ; 'UInt' is the type of the first parm
  ; The first param VALUE is "0x71", which is just hexidecimal for 113
