No access to command line parameters in Miletus/Electron app?


I need to create a small utility whichs accesses a MySql database and sets some values, according to some strings which are given as command line parameters when called from the windows command line.

But as far as I can see, there is no possibility to access the command line parameters (like paramcount and paramstr() in delphi), or am I overlooking something?

Kind regards,
Meik Stoll


For Electron we did not expose this yet.

For Miletus you can do:

procedure TForm1.WebButton1Click(Sender: TObject);
  I: Integer;
  await(Boolean, TTMSParams.Execute);
  for I := 1 to ParamCount do

Hi Tünde,
thank you very much for the quick reply!
Tested - it works. Great.
(I tried to use the TTMSParams class, but didn't realize that I had to call Execute at first.)
Kind regards,

1 Like