Zoom browser with HEScript

Hello
I would like to configure the browser zoom when opened. I guess I have to use HEScript. What command should I use?

This is for ExeOutput for php 2021.0
THANKS

Add this to UserMain script:
NavigateCommand(6); to zoom in.
NavigateCommand(7); to zoom out.

For instance:

procedure OnDisplayWindow (WindowName: String);
begin
NavigateCommand(6);
NavigateCommand(6);
end;

https://www.exeoutput.com/help/scripting/addscript/

I wrote the code as shown but it doesn’t work.
Did I do something wrong?

Make sure to insert the code into the existing OnDisplayWindow. If this does not work, we’ll try something else. Do you use JavaScript / jQuery in your app?