webguy22
Member
Forum post Progress Bar status changing talks about how to set up a progress bar. It said:
Note that in ExeOutput 2, this will be easier. Something like:
exo_runhescriptblock(“main.jauge.Value := 40;”);
Question. Is it now exo_runhescriptcom instead of exo_runhescriptblock?
And what’s the proper way to code this in a php script?
I searched and found the following for requesting a folder:
Function AskFolder: String;
Begin
Result := SelectDirectory(“Choose a folder”, “”);
End
And I placed this in my PHP script:
$dir = exo_return_hescriptcom(“UserMain.AskFolder”, “Error”);
It works great. But sometimes it can take more than 10-15 seconds to complete for a large directory of files. So I would like a progress bar to display during the wait. But I’m not sure where to place in the PHP script. Before the AskFolder like this:
exo_runhescriptcom(“main.jauge.Value := 40;”);
$dir = exo_return_hescriptcom(“UserMain.AskFolder”, “Error”);
which, BTW, does not work. Or do something else?
Note that in ExeOutput 2, this will be easier. Something like:
exo_runhescriptblock(“main.jauge.Value := 40;”);
Question. Is it now exo_runhescriptcom instead of exo_runhescriptblock?
And what’s the proper way to code this in a php script?
I searched and found the following for requesting a folder:
Function AskFolder: String;
Begin
Result := SelectDirectory(“Choose a folder”, “”);
End
And I placed this in my PHP script:
$dir = exo_return_hescriptcom(“UserMain.AskFolder”, “Error”);
It works great. But sometimes it can take more than 10-15 seconds to complete for a large directory of files. So I would like a progress bar to display during the wait. But I’m not sure where to place in the PHP script. Before the AskFolder like this:
exo_runhescriptcom(“main.jauge.Value := 40;”);
$dir = exo_return_hescriptcom(“UserMain.AskFolder”, “Error”);
which, BTW, does not work. Or do something else?