How do I give mixed custom shortcuts?

You can add hotkeys directly to the buttons:

A button or hotkey like this will let you toggle flat view:

@if:Set FLATVIEW=on
Set FLATVIEW=off

@if:else
Set FLATVIEW=on,mixednofolders

How to use buttons and scripts from this forum