Hello - I am having a bit of a problem with secret agent and keyboard drivers, or keyboard layouts.
After using an Intel macbook pro for 6 yrs, I upgraded to an M3 model a few days ago, and am using Codebook Version 5.0.0 (4194). The laptop has a Japanese-layout keyboard, and I use a UHK external keyboard with an English layout as my daily driver. The keyboard drivers appear to be installed correctly, and I can type as expected on each keyboard. There are a couple differences, such as:
- Built in Japanese keyboard: shift 2 is
"
, shift 7 is'
. - External English keyboard: shift 2 is
@
, shift 7 is&
.
(there’s a few more but it’s harder to describe)
… and (edit:) I just have to remember those when I type on either keyb, but it’s not a problem for regular use.
I noticed that certain passwords were getting kicked back, so after some head scratching I tested pasting into a text file via secret agent, and via copy paste from Codebook directly, comparing to the actual inputted password stored in Codebook, then noticed that secret agent wasn’t always entering it correctly.
More specifically, what I observed:
Given a stored password of, say, gin&Tonic27
, when I use secret agent on that password’s record, the output is gin'Tonic27
, where the ampersand is getting replaced by the single quote. Of course this is incorrect so I get an error that the password is incorrect. I guess that implies that for the ampersand, Codebook is entering shift 7, but the Japanese keyboard is getting in the way and entering the single quote.
So I confirmed the drivers for each keyboard, and tried disabling and re-enabling secret agent, but so far no difference. (I selected the scripts folder as usual, when I newly installed Codebook. When I re-enabled secret agent, it did NOT ask me to re-specify the scripts folder.)
There’s another wrinkle. I’m using Japanese language input, which has “modes” - Japanese ones and English. I’m used to switching to English before I use secret agent, because having it switched to Japanese sometimes results in incorrect characters being input. The input software sometimes sees some combination as Japanese, and will input an equivalent-looking but different character, which also results in an error. To avoid it I always tap the “English” toggle before using secret agent. I assume Chinese or Korean users would have the same issue here, so I think this is a bit of a red herring that we can just ignore.
Finally and maybe more maddeningly, when I set the system up a couple days ago so I remember: when I connected the external UHK keyboard, it does that popup test where a wizard asks you to press the key to the right of the left shift, and the key to the left of the right shift, then lets you choose? First I picked the ISO layout, and when I was troubleshooting, I thought that might be the problem, so from system settings, Keyboard, I re-selected English, instead of ISO.
After doing so, for a brief time, the secret agent problem went away, and I was able to get the correct character input, the desired ampersand. However, for some odd reason, after a few minutes it went back to insisting on entering the single quote! So close yet so far.
At any rate, I’d appreciate any help.
Thanks
Rick