Keyboard shortcuts in Filer_Action
Rik Griffin (98) 264 posts |
I’m adding keyboard shortcuts to Filer_Action. My current solution is to have a FA window given the input focus if (and only if) it was opened by the user using a keypress in a Filer window. I’ve implemented this by adding a new flag bit to r2 of FilerAction_SendStartOperation (and hence to the flags word at offset 24 of Message_FilerAction). The current flag bits are therefore: If bit 7 is set, FilerAction will claim the input focus when its window opens for the first time. The Filer should set this bit if a keyboard shortcut is used – currently only CTRL-K (delete) has this effect. Any comments? Is this likely to break anything? Feedback here please before I commit the changes. |