Well I forgot about batch file menu generation. I have done this in DOSBox for various radios and models. ie, Tait, kenwood, moto etc, etc.
I guess with your idea, one could attribute an icon file to the batch file and place on the desktop, or wherever...
Here is an excerpt of my programming .bat file...
@ECHO OFF
:BEGIN
CLS
ECHO.
ECHO.
ECHO Radio Programming Software *MAIN MENU*
ECHO.
ECHO.
ECHO 1. Tait
ECHO 2. Motorola
ECHO 3. Kenwood
REM ECHO 4. Maxon
ECHO 4. Philips
ECHO 5. Simoco
ECHO.
ECHO 6. DSE EPROM Burner
ECHO 7. GPS LabMon
ECHO.
ECHO 8. Exit to DOS
ECHO 9. Exit to Windows
ECHO.
ECHO.
CHOICE /N /C:123456789 Select A Number (1, 2, 3, 4, 5, 6, 7, 8 or 9)%1
IF ERRORLEVEL ==9 GOTO EXIT
Yes and no
Menu structure is close to what I did but instead of pointing each option to a different file, you can just point it to a different line where is your DSD and FMP24 start options.
Sorry for the long post but in order to get my idea I'll post part of my batch code here:
:unknown_menu
mode 62,45
if not defined listening set listening=Select a system to decode
cls
echo.
echo __________________________________________________________
echo.
echo UNKNOWN
echo __________________________________________________________
echo.
echo 1 - Capacity+ DCC3 - 462.38600 MHz
echo 2 - Capacity+ DCC3 Site 1 - 152.43751 MHz
echo 3 - Unknown Analog - 162.28000 MHz
echo 4 - DMR DCC1 - 157.63400 MHz
echo 5 - Unknown NXDN - 468.21765 MHz
echo 6 - Capacity+ DCC1 - 482.43875 MHz
echo 7 - Unknown Encrypted - 168.38200 MHz
echo 8 - Unknown TG1 - 169.58400 MHz
echo 9 - Unknown DMR TG11 - 468.92000 MHz
echo 10 - Unknown wihout voice - 468.10000 MHz
echo 11 - Unknown construction - 146.13750 MHz
echo.
echo 12 - Start SDR Sharp
echo.
echo A - Start FMP-Map
echo C - Current listening
echo M - Main menu
echo.
echo E - Edit system files
echo B - Backup
echo.
echo G - Audio server control
echo R - Restart
echo T - Restart to current
echo X - Exit
echo __________________________________________________________
echo.
echo Currently listening to:
echo.
echo %listening%
echo.
echo.
set choice=
set /p choice=Choose an option:
if "%choice%"=="1" set check=cap_dcc3 & goto cap_dcc3
if "%choice%"=="2" set check=cap_dcc3_site1 & goto cap_dcc3_site1
if "%choice%"=="3" set check=unknown_analog & goto unknown_analog
if "%choice%"=="4" set check=dmr_dcc1 & goto dmr_dcc1
if "%choice%"=="5" set check=unknown_nxdn & goto unknown_nxdn
if "%choice%"=="6" set check=cap_dcc1 & goto cap_dcc1
if "%choice%"=="7" set check=unknown_enc & goto unknown_enc
if "%choice%"=="8" set check=unknown_tg1 & goto unknown_tg1
if "%choice%"=="9" set check=unknown_dmr & goto unknown_dmr
if "%choice%"=="10" set check=unknown_vocie & goto unknown_vocie
if "%choice%"=="11" set check=unknown_construction & goto unknown_construction
if "%choice%"=="12" set check=sdr_sharp & goto sdr_sharp
if /I "%choice%"=="a" start FMP-Map
if /I "%choice%"=="c" goto %current%
if /I "%choice%"=="m" goto main_menu
if /I "%choice%"=="e" goto system_files
if /I "%choice%"=="b" goto backup
if /I "%choice%"=="g" goto audio_server
if /I "%choice%"=="r" goto sure_res
if /I "%choice%"=="t" goto current_res
if /I "%choice%"=="x" goto sure_xit
goto unknown_menu
:cap_dcc3
if %check%==%curr_res% goto unknown_menu
tskill sdrsharp >nul
tskill dsdplus >nul
tskill fmp24 >nul
tskill FMP-Map >nul
start FMP24 -i1 -o20001 -f462.38600 -b7.6 -a1 -g7.7 -z0 -P33.0 -_1
start DSDPlus -i20001 -fr -v4 -T -o1 -O NUL -_3
start FMP-Map
set listening=Capacity+, DCC 3, Mode: DMR
title DSD+ %listening%
set current=unknown_menu
set curr_res=cap_dcc3
for %%I in (Listening) do (
setlocal enabledelayedexpansion
type metadata.gdm | find /v "%%I=">metadata.gdm
move /y metadata.tmp metadata.gdm >nul
echo %%I=!%%I!>>metadata.gdm
)
endlocal
goto unknown_menu
:cap_dcc3_site1
if %check%==%curr_res% goto unknown_menu
tskill sdrsharp >nul
tskill dsdplus >nul
tskill fmp24 >nul
tskill FMP-Map >nul
start FMP24 -i1 -o20001 -f152.43751 -b7.6 -a1 -g7.7 -z0 -P33.0 -_1
start DSDPlus -i20001 -fr -v4 -T -o1 -O NUL -_3
start FMP-Map
set listening=Capacity+, DCC 3, Site 1, Mode: DMR
title DSD+ %listening%
set current=unknown_menu
set curr_res=cap_dcc3_site1
for %%I in (Listening) do (
setlocal enabledelayedexpansion
type metadata.gdm | find /v "%%I=">metadata.gdm
move /y metadata.tmp metadata.gdm >nul
echo %%I=!%%I!>>metadata.gdm
)
endlocal
goto unknown_menu
:unknown_analog
if %check%==%curr_res% goto unknown_menu
tskill sdrsharp >nul
tskill dsdplus >nul
tskill fmp24 >nul
tskill FMP-Map >nul
start FMP24 -i1 -o20001 -f162.28000 -b12.5 -a1 -g28.0 -z0 -P33.0 -_1
start DSDPlus -i20001 -m1 -fm -v4 -T -o1M -O NUL -_3
set listening=Unknown, Mode: Analog
title DSD+ %listening%
set current=unknown_menu
set curr_res=unknown_analog
for %%I in (Listening) do (
setlocal enabledelayedexpansion
type metadata.gdm | find /v "%%I=">metadata.gdm
move /y metadata.tmp metadata.gdm >nul
echo %%I=!%%I!>>metadata.gdm
)
endlocal
goto unknown_menu
NB: Frequencies are not real just to keep privacy!
"Why not putting all CC's in FMP24.scanlist, and run FMP that is dedicated to CC with -s1 option?
I run mine like this 24/7, system is changing CC every 24 hours and all works just fine."
Cheers mate! -s1 is first slot, I guess. Mmm, interesting. I will have to create a "FMP24.scanlist" file. I assume FMP24 auto-scans dir for this file?
Ah, reading FMP24.txt now for instructions!
And no doubt when you say FMP, you obviously mean FMP24... Cheers.
Yeah, If there is an -s1 option added to FMP24 start line it will start scanning as soon as you run it. So just put all your control channels inside FMP24.scanlist and run it. FMP24 atuomatically stops when there is an active channel, so once CC is changed FMP24 will continue to scan the list and within less of sa second you will be tuned to the new CC