[JW Lua] Startup script

Robert Patterson robert at robertgpatterson.com
Thu Feb 16 15:24:44 CET 2023


Of all those, the one that confuses me is the date one. Does os.date() open
a command-prompt window on Windows? Is the goal to present the date in the
user's preferred locale format? Or is it to get a sortable value for the
date? (Or some other reason?)

On Wed, Feb 15, 2023 at 2:42 PM Jan Angermüller <jan at angermueller.com>
wrote:

> Robert,
>
> >Which are the functions that generate popups?
> -Starting other programs (.exe files) like the ESProgressBar.exe which
> shows the external progress bar (currently via the "start" command). Some
> programs also need one or multiple strings to be passed on.
> -Read, Write and Delete access to the registry, both 32bit and 64bit
> -Reading the wmic.exe output which needs a string as a parameter
> -Current Date (day month year) in format %d-%m-%Y   = e.g. 15-02-2023
> -As other language editions of Windows caused problems some calls start
> with a change of the codepage: "chcp 65001". Registry queries and wmic
> require this.
> -"Powershell stop-process -Id $PID"
>
> The external cmd or powershell calls are already centralized in Perfect
> Layout.
> Usually it's two or three commands in one black window.
>
> Jan
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230216/4a431cc9/attachment.htm>


More information about the JWLua mailing list