Hi,
I have a few suggestions for improving command line and scripting support:
- Add support environment variables - like e.g. %windir% or %systemroot% for "/exec" command.
- Remove limit number of characters per line for "/exec" command - because too long path to external program can't be executed.
- Add command "/pause [milliseconds]" - halt execute next lines of script for a specified period.
- Add command "/WaitOnReturn" - wait for return of previous command before execute next line of script.
- Add support for command without a parameter - e.g. "/ff" should return currently set value e.g. 15.
- Add support for command in "/echo" command - e.g. "/echo Force Feedback: '/ff'%" should return "Force Feedback: 15%".
e.g. stats.lfs script:
Above script returns both "/echo" commands before "/w" commands, because there is a delay during download statistics from LFSW server, here would be helpful command like e.g. "/WaitOnReturn" for halt execute next lines of script before return of previous command.
Between "/echo" and "/w" commands is returned info when I leave the pits, here would be helpful command like "/pause [milliseconds]" to halt execute next lines of script for a specified period.
New version of stats.lfs script could look like this:
The final result would look properly.
I have a few suggestions for improving command line and scripting support:
- Add support environment variables - like e.g. %windir% or %systemroot% for "/exec" command.
- Remove limit number of characters per line for "/exec" command - because too long path to external program can't be executed.
- Add command "/pause [milliseconds]" - halt execute next lines of script for a specified period.
- Add command "/WaitOnReturn" - wait for return of previous command before execute next line of script.
- Add support for command without a parameter - e.g. "/ff" should return currently set value e.g. 15.
- Add support for command in "/echo" command - e.g. "/echo Force Feedback: '/ff'%" should return "Force Feedback: 15%".
e.g. stats.lfs script:
/echo ^2LFS World statistics: ^7WR
/w wr
/echo ^2LFS World statistics: ^7PB
/w pb
/w fuel
/w laps
Above script returns both "/echo" commands before "/w" commands, because there is a delay during download statistics from LFSW server, here would be helpful command like e.g. "/WaitOnReturn" for halt execute next lines of script before return of previous command.
Between "/echo" and "/w" commands is returned info when I leave the pits, here would be helpful command like "/pause [milliseconds]" to halt execute next lines of script for a specified period.
New version of stats.lfs script could look like this:
/pause 250
/echo ^2LFS World statistics: ^7WR
/w wr
/WaitOnReturn
/echo ^2LFS World statistics: ^7PB
/w pb
/w fuel
/w laps
The final result would look properly.