denral
Member
I have tried to capture a command line parameter without success. I’m pretty sure it’s just a matter of where it reads the parameters.
Can you show an example of how and where to use the paramStr in the UserMain HEScript along with a custom parameter?
I have this example procedure in the HEScript, but where to call it from?
Can you show an example of how and where to use the paramStr in the UserMain HEScript along with a custom parameter?
I have this example procedure in the HEScript, but where to call it from?
Code:
procedure GetParams;
Var
i, ParamCount: integer;
begin
ShowMessage(intToStr(ParamCount));
for i := 0 to ParamCount do
ShowMessage("Parameter "+IntToStr(i)+" = "+ParamStr(i));
end;
Last edited: