Haha, I'm just looking at the source for the keyboard-driven-input macro and it has five nested keyboard widgets, so I venture a guess that there's not an obviously better way just now.
Best, Chris On Monday, January 25, 2021 at 7:56:55 PM UTC-5 clutterstack wrote: > Thanks Tones, > > I had another look at the global keyboard shortcuts, and I haven't tried > it, but the presence of duplicate key combinations in the shortcut list > does make me hopeful that I might be able to just add more duplicate global > shortcuts and have them work appropriately with a macro that only works > under, as you say, given conditions. It does sound like something that > could require careful thought to avoid conflict. But definitely something > to think about! > > For now, I think I'll leave my nested keyboard widgets in place, since > they work and haven't caused me any grief, unless it's through a > performance hit. I certainly have other optimisations I can focus on! > > Best, > Chris > On Sunday, January 24, 2021 at 4:58:22 PM UTC-5 TW Tones wrote: > >> Clutterstack, >> >> I am no expert in keyboard shortcuts for sure, but with 5.1.23 we can now >> use the modifier keys, so alt- shift- ctrl- can be interrogated in the >> actions macro if appropriate you can then use one key, 3-4 modifier keys so >> perhaps a global short cut that responds to conditions and modifier keys is >> another approach. >> >> Regards >> Tones >> >> On Sunday, 24 January 2021 at 15:02:39 UTC+11 clutterstack wrote: >> >>> >>> Hi all, >>> >>> I have, in some of my macros, three nested keyboard widgets to listen >>> for three different key combinations. I'm just wondering whether this is >>> the best way to accomplish that. I don't think I want to assign keyboard >>> shortcuts for the whole wiki, because I may want different actions for the >>> same key or key combination, based on the event target. >>> >>> Am I missing something? >>> >>> Best, >>> Chris >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d066bae5-693a-41e8-9ebf-870dbf794eccn%40googlegroups.com.