Customizing the button for 'rename'

Good sirs.

Can I script the normal 'rename' button so that 'rename' opens in advanced mode with the preview panel already activated?

Thanks

Rename ADVANCED will handle the advanced mode part.

The preview panel remembers its previous setting, so once you turn it on it should stay on, unless you also want it off sometimes for some reason.

Thanks sir.