I'm writing a script that has different modes, and I want to be able to quickly trigger them with a second keystroke after my initial keyboard shortcut invokes the script itself. So if I set up [ShiftT] as the keyboard shortcut to my script, I want to be able to press [ShiftT]-then-[1], or [ShiftT]-then-[2], or [ShiftT]-then-[3], etc. to access the different modes of my script.
Since keystrokes have the inherent possibility of being attached to other tools, I was wondering if this could be accomplished using a modal dialog box that immediately comes up when the script is invoked. Is there a way to listen for a single keystroke in a dialog box or attach keyboard shortcuts to custom GUI buttons?
Capture keystrokes in LM.GUI dialog?
Moderators: Víctor Paredes, Belgarath, slowtiger
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Capture keystrokes in LM.GUI dialog?
Not currently possible.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Capture keystrokes in LM.GUI dialog?
This can only be done with one master script and two additional scripts, each binding its own shortcut key.
I'm from China, currently using: Moho 15 » Win10 System











