History button [on the bottom bar] turns itself off after every command .
I have record and update on… but still it goes off after every command, why? is this by design or a bug?
now I have to remember to click it on before every step, and when I forget I loos the history link and need to redo my steps. Very very frustrating.
What am I doing wrong? in the past, when history was on, it stayed on…
hi @Akash is this still an issue for you? I cannot repeat it here. What I do know is that this button behaves differently when you modify its state during a command.
If the button is off and you start a command, then turn on history, it will turn off after the command has ended. If you have no commands running, and set Record History to “Always Record History” (right click the button) it stays on.
hi
I’ll check.
I put it on [before that post]. from the history command.
Good to know about the right click at the button in the status bar … we didn’t have that option in the old Mac UI so it is new for me.
How can I then script one-shot history recording (the same behavior as clicking the “Record History” button on the status bar) without enabling “always record history”?
I do no want to hard-code each and every command with a #. When clicking “Record History” on the status-bar, i can then execute whatever command i like, and afterwards the “Record History” automatically turns off. Is is not possible to enable this behavior through a command/script (like an option called “One Shot History” in the _History command)?
Observe that the “Record History” automatically gets disabled afterwards.
I want to be able to perform step 1 without having to explicitly click on the button located on the status bar, but rather use a macro like _History _OneShot=Yes. The code for doing this clearly exists, because that is how it works when using the status bar.
I don’t think this is currently possible. It needs to work different though than clicking the button in the statusbar, since that only works as a nested action, and you want it to work before firing a command.
Let me know if this description is what you are after: RH-83797 One shot history enable/disable
I tested the “One Shot Recording” feature in the latest WIP, but I am unable to enable or disable it using macros. The following commands don’t seem to work:
Enable One Shot Recording: _History _OneShotRecord=Yes _Enter
Disable One Shot Recording: _History _OneShotRecord=No _Enter