-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSDRConsoleVFOControl.ahk
65 lines (57 loc) · 1.02 KB
/
SDRConsoleVFOControl.ahk
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;2021-09-27 First version, Lars Thunberg SM0TGU
SetTitleMatchMode 3
;Remap the arrow keys and move the mouse to the correct position in External Radio
Up::
IfWinActive, External Radio
{
MouseClick, WheelUp, 150, 147
}
else
{
Send {Up}
}
Return
Down::
IfWinActive, External Radio
{
MouseClick, WheelDown, 150, 147
}
else
{
Send {Down}
}
Return
Right::
IfWinActive, External Radio
{
MouseClick, WheelUp, 182, 147
}
else
{
Send {Right}
}
Return
Left::
IfWinActive, External Radio
{
MouseClick, WheelDown, 182, 147
}
else
{
Send {Left}
}
Return
;Remap the space key to activate main window or external radio and move the mouse to correct position
;Replace the name "Airspy Mini :: SDR Console v3.1" if you are using another SDR. The window name has to be exact
Space::
IfWinActive, Airspy Mini :: SDR Console v3.1
{
WinActivate, External Radio
MouseMove, 182, 147
}
else
{
WinActivate, Airspy Mini :: SDR Console v3.1
MouseMove, 400, 600
}
Return