I love using the compact wireless Apple keyboard that comes standard with every iMac now. The issue is that occasionally, I like to be able to use a number pad, which those don't have, and I don't want to have to switch back to a full size keyboard to fill that occasional need. So I created this Alfred Workflow that turns the u, i, o, j, k, and l keys into a virtual number pad temporarily, so that you can use it to type in a credit card number, or something like that. Here's how it works:
- Type in np in Alfred and then press space
- Type your number using the 7, 8, 9, u, i, o, j, k, and l keys. Feel free to use hyphens or any other characters besides those keys, as those won't be converted into numbers. Alfred will give you a preview of what your converted output will be in the space below where you're typing.
- Press Enter/Return to paste the output of what you've typed into the app that is currently in focus (if you would prefer for the script to just copy to the clipboard without automatically pasting, you can uncheck the appropriate box in the "Copy to Clipboard" module in the workflow).
Let me know if you have any questions.