Hi,
Command line arguments will be added to start scan from command line in the next DD version v1.6, it will take time, but the way you suggested.
For now, I can suggest, sending a window message to start the scan on DD, if you would like.
Here is how you can do this, you can test this as I am not sure if it will help or not. This will need DD to be started already.
#define WM_MODULE_MSG WM_USER + 321
#include "moduleapi.h"
TSetTunerParams stp;
stp.wSatPos = 0130;
stp.tpi.dwSize = sizeof(stp.tpi);
stp.tpi.dwFreq = 11766000;
stp.tpi.dwSr = 27500000;
stp.tpi.pol = POL_VERTICAL;
stp.tpi.dwModulation = MOD_DVBS_QPSK;
stp.tpi.dwFec = FEC_AUTO;
SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_TUNE_DIALOG2, (LPARAM)&stp);
// needs DD v1.5g
--------------------------------------------------------------------------------
DDMODAPI_TUNE_DIALOG
Decsription : Opens up the manual scan dialog with the given TP parameters
Parameter Type : PSetTunerParams structure
--------------------------------------------------------------------------------
DDMODAPI_TUNE_DIALOG2
Decsription : Opens up the manual scan dialog and starts the scan
with the given TP parameters
Parameter Type : PSetTunerParams structure
--------------------------------------------------------------------------------
Download the SDK to get the latest header files
http://www.dvbdream.org/moduleapi.php