|
From: | aaron mehl |
Subject: | Re: putting it all together was scheme custom keymap |
Date: | Tue, 15 Sep 2020 12:38:50 -0400 |
Sent from 71EF8D91-6437-424B-A63D-D825136505CE@getmailspring.com/1?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=ZGVuZW1vLWRldmVsQGdudS5vcmc%3D" title="https://getmailspring.com/">Mailspring, the best free email app for workOn Sep 15 2020, at 12:20 pm, Richard Shann <richard@rshann.plus.com> wrote:On Tue, 2020-09-15 at 08:55 -0400, aaron mehl wrote:> Hi again,> I seem to be stuck. Part of the problem with my hard coded note entry> is that from the begininng of our discussions I seem to have> forgotten things.> I made a list for myself which I hope will help see what I forgot, or> lost.> 1.Create hard-code-mode> I did this once but when I upgraded to the newest denemo> version it disappeared.If you mean some command(s) that you created then they are not actuallydeleted, they are, as a minimum still preserved below the directory~/.denemo-<version>/actions/menusFor example, a command called C in the PC Keyboard menu would be foundin~/.denemo-<version>/actions/menus//MainMenu/InputMenu/Keyboardas two files~/.denemo-<version>/actions/menus/MainMenu/InputMenu/MyCommand.xml~/.denemo-<version>/actions/menus/MainMenu/InputMenu/MyCommand.scmSo you could copy them to your new location below ~/denemo-<version>and then install them into the menu by right clicking on an item inthat menu and choosing "More Commands" selecting the MyCommand.xmlfile.----------------------------ok thanks---------------------> I see I take a existing script and in input keyboard I open it in> the scheme editor. But I can't find what I need to replace in that> script, I looked at the thread and couldn't seem to figure it out.you replace lines like(d-AddKeybinding "Set0" "0")with(d-AddKeybinding "MyCommand" <keyname>)easier would be to start from blank and add lines(d-AddKeybinding "" "")and then fill in the "" with name of command, name of keyboard key--------------------------to easy------------------------->> 2. create hard-code scripts for notes> This is donein what sense? you have the scripts in a file somewhere? or you havesaved them as New Menu Items?----------------------in separate files one for each hard coded note------------------------------------> 3. Make the hard code scripts available in the hard-code-mode.they are available whether or not you have shortcuts assigned to them,they are in your menu system.> I think I need to get each one into the menu system> first but I am not sure.------------------------------ok that is much clearer now. even though it was in the thread----------------------------------Yes, for each note you want a script saved using "Save as New MenuItem" with a suitable command name, suitable label, and tooltip.> You also mentioned adding a keybinding to enter and exit the mode.> Do I put this in the original hard-code-mode scriptyes, in your script changing the shortcuts, your "mode-switch" command.> I am sorry I may just be going senile since I already created the> first script and the individual oneswhere are they? Unless you saved them somewhere anything in the Schemescript window when you exit will be lost.-------------------------I saved them all in the .denemo_xxx/action/ directory-------------------------It will probably help you a lot if you post what you have done to themailing list - it will be easier to be sure what you are doing, and itwill provide a measure of backup.-------------------I should post each of the hard code script files? I will save the hard-code-mode as a file as well.------------------------------Richard
hard-code-mode.commands
Description: Binary data
hardcodedG.commands
Description: Binary data
hardcodedF.commands
Description: Binary data
hardcodededown.commands
Description: Binary data
hardcodedE.commands
Description: Binary data
hardcodedddown.commands
Description: Binary data
hardcodedD.commands
Description: Binary data
hardcodedcdown.commands
Description: Binary data
hardcodedC-2.commands
Description: Binary data
hardcodedC.commands
Description: Binary data
hardcodedB-mid.commands
Description: Binary data
hardcodedbdown.commands
Description: Binary data
hardcodedB.commands
Description: Binary data
hardcodedA-mid.commands
Description: Binary data
hardcodedadown.commands
Description: Binary data
hardcodedA.commands
Description: Binary data
hardcodedfdown.commands
Description: Binary data
hardcodedgdown.commands
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |