-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBasic Shortcuts.ahk
More file actions
28 lines (20 loc) · 932 Bytes
/
Basic Shortcuts.ahk
File metadata and controls
28 lines (20 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#SingleInstance, force ; Forces only one instance, allows to re-run script without reloading
Menu, Tray, Icon, images\WoosterGraphic.ico ; Icon for this script
Menu, Tray, Tip, WTS: Basic Shortcuts ; Change tooltip on icon in tray
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Initialization ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Define INI file location
pathINI = % A_AppData "\Wooster Technical Solutions\WoosterTech.ini"
; Section of INI file for 3CX
iniSection = BasicShortcuts
; Initialize iniProps
iniProps := {}
; Properties from INI file with their defaults
iniProps["numLockOn"] := 0
iniProps := WTSFunctions_readINI(pathINI, iniProps, iniSection)
numLockOn := iniProps["numLockOn"]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Main Code ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if numLockOn {
SetNumLockState, AlwaysOn
}
; Opens a G2M prompt to start or join a meeting
; ^!g::Run, "gotomeeting://SALaunch?Action=Host"