How can I set shortcut keys for this two bottoms

image
I want to set shortcut keys for this two bottoms ↑↑

When doing Chinese font design, I often switch between horizontal and vertical typesetting.

in Glyphs3 , I didn’t find actions corresponding to them in the shortcuts preferences’ list.

I also want in shortcut keys for this two bottoms Glyphs2 (My most commonly used)

I added a new script to the mekkablue repo (Toggle Horizontal-Vertical.py) that is witching the horizontal to vertical state. then you can add a keyboard shortcut to that script in preferences > Shortcuts (or in System Preferences for Glyphs 2)

thank you!!!!!