Help, could you look at this script and tell me what I did wrong, since only two shortcuts work for me. thanks, Aaron
Sent from Mailspring (https://link.getmailspring.com/link/ee5b5a2a-d6c3-4d4b-a0c3-40b403130...@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=ZGVuZW1vLWRldmVsQGdudS5vcmc%3D), the best free email app for work On Sep 17 2020, at 7:17 am, Richard Shann <rich...@rshann.plus.com> wrote: > One thing - I just noticed in a file you sent: > > (d-AddKeybinding "hardcodedA" <shift,a>) > I'm afraid I've mislead you here - putting < > round something is a > common convention meaning "the thing of that name", in this case what > you would want is > > (d-AddKeybinding "hardcodedA" "A") > where "A" is the name of the keypress Shift-a enclosed in double > quotes. That is, the first field is the name of the command, enclosed > in double quotes and the second is the name of the short cut, enclosed > in double quotes. > > Richard > > On Thu, 2020-09-17 at 06:16 -0400, aaron mehl wrote: > > > > > > Sent from Mailspring, the best free email app for work > > On Sep 17 2020, at 4:01 am, Richard Shann <rich...@rshann.plus.com> > > wrote: > > On Wed, 2020-09-16 at 20:47 -0400, aaron mehl wrote: > > > Hi again I am posting the hard-code-mode, which isn't working > > > correctly. I added a shortcut in command center rr and it got > > > invoked. > > > I think probably control should be cntrl? > > > shift? > > > > > > > > what do you mean by "list" a command? > > In the scheme script I have a list of commands one for each hard > > coded note. > > when I tested my script the short cut I gave for the letter 's' > > didn't work so I was trying to debug it. When looking at the script I > > forinstance used a comma for a two key shortcut and I see from your > > response I should have used a '+ ' sign. Also I want to make sure > > that my shortcuts replace the default ones. > > We also mentioned another script that leave the hard-code-mode which > > will be next after I debug. > > Aaron > > > > Richard >
hard-code-mode.scm
Description: Binary data