-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrtmmd.cmd
28 lines (17 loc) · 956 Bytes
/
rtmmd.cmd
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
@echo off
Rem this is the cmd file for RTMMD
Rem need to be adapted depend on the running OS, this one is for Win
Rem will receive these parameters on entry " "+showScreen+" " + verbose or 'kill'
Rem which will give " Y Y" for example
if "%1"=="kill" GOTO :kill
if exist "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTMood\" GOTO :folder
start "WLEDAudioSyncRTMood from Chataigne" /HIGH /D "%USERPROFILE%\Documents\Chataigne\xtra\" WLEDAudioSyncRTMood-Windows.exe -sc %1 -v %2
GOTO :end
:folder
start "WLEDAudioSyncRTMood from Chataigne" /HIGH /D "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTMood\" WLEDAudioSyncRTMood-Windows.exe -sc %1 -v %2
if exist "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTMood-Windows.exe" del "%USERPROFILE%\Documents\Chataigne\xtra\WLEDAudioSyncRTMood-Windows.exe"
GOTO :end
:kill
taskkill /F /FI "WINDOWTITLE eq WLEDAudioSyncRTMood from Chataigne"
:end
exit