[Cuis-dev] Package and tool for managing keyboard shortcuts
Mariano Montone
marianomontone at gmail.com
Thu Dec 12 03:40:39 PST 2024
Hi Hannes,
El 7/12/24 a las 11:46, H. Hirzel escribió:
> Hi Mariano
>
> Thanks for posting this package to test. It will be an important tool
> for me in the future to configure Cuis for particular purposes.
>
> The package loaded fine into the Cuis version of yesterday.
Thanks for trying the package! :)
>
> For some reason my Key strokes window does not look like yours in the
> screen shot you attached.
>
> The fields for entering
>
> in: send: to:
>
> are much narrower.
Can you attach a screen shot? Must be a problem with the Display size. I
don't know how to implement UI interfaces that adapt depending on
Display size...
> And also I did not manage to implement
>
> alt + $1 to get a full screen. It kept adding openTranscript.
I think you are not modifing the "send:" and "to:" fields ?
Because of the way the KeyStrokes package works at the moment, some
"helper" class is needed that implement the desired keystroke
functionality, so that keystrokes can be solved by a MessageSend to a
class and selector. So, for example, I've implemented a
KeyStrokes>>toggleFullScreen helper method and then I setup a keystroke
like this:
KeyStrokes on: 'alt+$1' send: #toggleFullScreen to: KeyStrokes.
You'll need to download the KeyStrokes package again to try it (I've
updated it).
Btw, I'm thinking it would be good to have a mechanism to save and
restore keystrokes. For now, a Save Image is needed, or set the
keystrokes via code in an init script.
Mariano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toggleFullScreen.png
Type: image/png
Size: 26158 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241212/0b373ec9/attachment-0001.png>
More information about the Cuis-dev
mailing list