Automation of several steps

Hi
Is there a way to automatically turn off/on the display of multiplier positions and turn off/on the display of bars without rounding.
I mean, for example, a file with the scr or lsp extension.
It would be best if it could be linked to an icon.
Jerzy