Page 1 of 1

Buttonbar - Dialog Box Improvements

Posted: 2021-05-06, 18:39 UTC
by Stiltzkin
? as the first parameter causes a Dialog box to be displayed before starting the program, containing the following parameters. You can change the parameters before starting the program. You can even prevent the program's execution.
i suggest a kind of placeholder value for the dialog box.
with that placeholder you wouldn't have the whole paramater string in the dialog box - just the placeholder part.

for example:

Code: Select all

cmd: cmd.exe
param: cmd /c copy new.odt ?"Insert document name".odt
only "Insert document name" would be shown in the dialog box, already marked for replacement/overwrite by the user (basically the fallback/default value)

ps: and maybe some "Y M D h m s" params, so that you don't have to use "%date:~6,4%-%date:~3,2%-%date:~0,2%" or stuff like that

Re: Buttonbar - Dialog Box Improvements

Posted: 2021-05-06, 22:23 UTC
by petermad
Support for something like this - I guess the placeholder marks could be something like %?....%?

Like:

Code: Select all

param=?copy new.odt %?Insert document name%?.odt