Most active commenters
  • rxhanson(5)

92 points zdw | 14 comments | | HN request time: 1.389s | source | bottom
1. rxhanson ◴[] No.45307482[source]
Without knowing about Jef Raskin's ideas, I implemented something really similar to one of them in one of my Mac apps, Superkey. This idea in the Canon Cat was that you hold down a key and type text that you want to select anywhere in a document, then let go to select it - typically faster than reaching for a mouse or hitting arrow keys. In the Canon Cat it was an additional key (the leap key), below the space bar.

For the implementation in Superkey, you can select a key to use for this, like caps lock. The way I use it is I hold the caps lock key and type text, then the app uses OCR and optionally the macOS Accessibility API to search for matching text. Releasing the key or hitting enter will click (or double or triple click, etc) on a match.

Raskin's idea was of course more text-editing focused, and tapping on the leap keys will also move the cursor. I typically use Superkey to navigate UIs quickly, kind of as though UIs all have keyboard shortcut navigation. There are also limitations that Superkey faces, like not having access to offscreen parts of a document.

replies(4): >>45307896 #>>45307998 #>>45309313 #>>45309886 #
2. bigwheels ◴[] No.45307896[source]
Brilliant idea for power users. Are there any comparable apps for Linux or Windows?

Edit: Supposedly there isn't one for windows, wow. https://www.reddit.com/r/windowsapps/comments/1cfw3bw/iso_ap...

replies(1): >>45307909 #
3. rxhanson ◴[] No.45307909{3}[source]
Not that I'm aware of, but I do have plans to at least bring some version of this to Windows at some point.
4. pazimzadeh ◴[] No.45307998[source]
what happens if there are multiple matches in the document?
replies(2): >>45308042 #>>45308071 #
5. rxhanson ◴[] No.45308042{3}[source]
In Superkey, all of the matches are highlighted yellow, and the selected one is highlighted green with a line to it from the text field. You can keep typing to narrow down the match, or you can navigate matches using the arrow keys (and optionally, cycle through them with the semicolon key, which is what I use). There's a screenshot at https://superkey.app.

For the Canon Cat, I'm actually not sure as I've only watched videos of this functionality there.

replies(1): >>45308080 #
6. classichasclass ◴[] No.45308071{3}[source]
(author) Next one in sequence. You can leap forwards or backwards. On the Cat, there is also a LOCAL LEAP for within the current document only.
replies(1): >>45308390 #
7. pazimzadeh ◴[] No.45308080{4}[source]
just downloaded Superkey and am trying it

how do I cycle using the arrow keys? currently using the arrow keys moves the cursor for the text in the search box

edit: tab seems to work. but sometimes Seek only works on one monitor (the one which has a window is selected), sometimes it finds results on both

replies(1): >>45308138 #
8. rxhanson ◴[] No.45308138{5}[source]
Up and down arrow keys will cycle matches.

At the moment the Accessibility API results are limited to the frontmost window; it's on my todo list to expand this to additional windows and displays. Also, the green line will only be drawn on results on the main display - another item I plan on fixing.

9. rxhanson ◴[] No.45308390{4}[source]
Good to know, that's what I was expecting. I'll have to give the Cat a spin! Also, thanks for this article and the Jef Raskin one - I thoroughly enjoyed them and their depth. I was in the middle of reading the book version of folklore.org (Revolution in the Valley) and these were a pleasant surprise.
replies(1): >>45309785 #
10. treetalker ◴[] No.45309313[source]
> you can select a key to use for this

Might be a good use for a foot pedal I have lying around!

11. classichasclass ◴[] No.45309785{5}[source]
Thanks for the kind word! They were fun to write.
12. drivers99 ◴[] No.45309886[source]
I made a PCB for a keyboard and built it with forward and backward leap keys, “use front” keys etc, copying the Canon Cat. Now I “just” have to write the actual text editing software/OS for whichever microcontroller I end up using, and a case to hold it all together.
replies(1): >>45311725 #
13. hackshack ◴[] No.45311725{3}[source]
Consider checking out this fellow's project. He's making an e-ink text editor: https://www.youtube.com/playlist?list=PL5jL92TrQ803IKtdFwmUC...