Lazarus uses FreePascal. I was hoping I could, in my program, (with Brave installed of course) do something like this:
procedure TMainForm.btnConvertToPDF.OnClick(Sender: TObject);
begin
if RunCommand(brave.exe, “SaveAsPDF”, myinputfile.html, myoutputfile.pdf ) then
ShowMessage(‘File saved to .Pdf’)
else
ShowMessage(‘There was a problem’);
end;
Is this possible? Thanks for any help you can provide.