Hotkey for folder tree preset

I set a 'abc' folder tree preset. how can I toggle it directly from hotkey? instead of clicking it from the header of tree folder

I think you might have to make a button with a command like GO RESTORETREEEXPANSION NAME=abc and assign it the hotkey you want.

thx it works