1

I wish to produce the underscore ("_") character without any significant slowness from an unused function key. I'm intrigued by this answer provided by username Danny last year. If a modification of the code they wrote is possible for my needs, I'd be grateful for anything you can offer (I don't know code myself). I am not interested in fee-based software i.e. Keyboard Maestro if there's a way to do this natively or through shareware. Thanks in advance!

Edit: I should add, I'm using an external 104-key keyboard, and F16 is the key I'd like to configure to trigger the underscore. Thanks!

9
  • Shift Hyphen causes "undue slowness"? I can't see how pressing shift with one hand while pressing hyphen with the other is somehow slower than taking your hand off the keyboard altogether to reach to F16 Commented Nov 5, 2020 at 19:23
  • Hi Allan. I found the article you linked as well today. Unfortunately, I did not find it helpful. Goal: produce the underscore character through a single keyboard key (F16). What I should have said instead of "undue slowness" is that presume a Service, i.e. through Automator, would induce too much lag time. When F16 is pressed, I just want the character to appear with the same speed it otherwise would through Shift+hyphen. Commented Nov 5, 2020 at 19:54
  • How did it not help? What did you do and what we're the results? That article tells you how and the linked tech note gives you the codes. Commented Nov 5, 2020 at 21:39
  • It did not help because as I detailed in my post, I do not know code ;). There was another reason though, too: I'd like to TRY to get this to work through Karabiner, if possible, because I can re-apply the workflow for the two other keys and if need be, reverse everything back to the way it previously was (for some unforeseen reason). Commented Nov 6, 2020 at 0:17
  • It's not code, it's the native comnand as you requested. All you have to do is change the hex values. In fact you only change the last 2 digits of those values. The first is what the key is, the second is the new value. Hyphen is 2D and F16 is 6B. If you don't know how to issue commands, then a paid or 3rd party solution is your only option. Commented Nov 6, 2020 at 14:50

1 Answer 1

0

Well, I have just used the text in keyboard preferences to put the "_" when I type "usc" but you can choose different characters, chose that as I don't need to use function, control, alt or command...

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.