Caster icon indicating copy to clipboard operation
Caster copied to clipboard

Add grammar for github website keyboard shortcuts

Open LexiconCode opened this issue 7 years ago • 2 comments

Nearly every page on GitHub has a keyboard shortcut to perform actions faster.

Typing ? in GitHub brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate.

This should work with any browser that Cater supports. For example multiple grammars and contexts spanning over different programs

Based on the URL certain grammar should be according to the context of Available keyboard shortcuts.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

LexiconCode avatar Oct 28 '18 22:10 LexiconCode

@LexiconCode I'd love to work on this. Is there specific portion of the documentation I can refer to so that I have more context. For example check the URL

sovoid avatar Feb 23 '21 15:02 sovoid

Thank you for your interest! This issue is more involved than I originally thought. Caster being built on top of dragonfly relies simply isn't aware of the HTML/CSS/Address URL in a web browser. dragonfly uses EXE, window title\class and function context(A function that must return the Bool to enable context). Without some sort of lower level integration with the browser I don't think there's much that we can do about that. There are a few different ways this could be tackled.

  • Leveraging some sort of automation framework specific to browsers, Selenium comes to mind.

Leveraging the OS accessibility APIs to expose the application's functionality. Windows would be Microsoft Active Accessibility (MSAA) UI Automation (UIA). This is probably the most difficult out of the 3 however also provides the most benefit.

  • Deep OS integrations
  • Works with multiple applications especially without extension frameworks.

LexiconCode avatar Feb 23 '21 15:02 LexiconCode