Macros to change UI properties?

Is there an easy way to have a macro change the UI properties, like for things that don't have a customisation option?

Such as change the Pick Tool from Standard to Crosshair cursor? Or Node Size from Large to Medium?

I do know it's possible since Hendrik wrote a macro for me to force the UI to open the Guidelines Setup on a guideline double click instead of the pathetic Guidelines Docker, so that changed a hidden UI customisation. (BTW this doesn't work in 2019 because of the changes to the Options Dialogs, one of the many reasons why I still use 2018)