Just a quickie (I have more planned.
)
SetFormat would follow the likes of the newly implemented SayFormat and UseFormat, allowing use of the format string framework to overwrite output buffers and the main advantage being able to use %_current%. Occasionally, Iāve had to load an output buffer into current input then clear the buffer itself before I can alter it:
OutputTo "Output"
UseFormat "$replace(%Output%,\",'')"
Set "Output"
SayRest
Which could be simplified to:
SetFormat āOutputā ā$replace(%Output%,\",'')"
The only other solution would be allowing %_current% to be used in any command, allowing more powerful utilisation of whatās currently being pointed at and similar results⦠maybe:
Set āOutputā ā%_current%"
SayOutput "%_current%"
json_select "%_current%"
# Sillier ones
Say "%_current%"
If "%_current%"
Replace "%_current%" ""