dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
Other
337 stars 122 forks source link

Roadmapish #214

Open Versatilus opened 6 years ago

Versatilus commented 6 years ago

This isn't an official roadmap. I'm just using this space as a scratchpad for ideas.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/56366409-roadmapish?utm_campaign=plugin&utm_content=tracker%2F1825907&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1825907&utm_medium=issues&utm_source=github).
LexiconCode commented 6 years ago

Could you give me an example to copy and paste and explain a bit more what you mean by nonstandard key bindings?

How does this compare to casters undocumented feature sticky list?

...copies strings directly to the clipboard and I would like to be able to save them for later. I also occasionally use programs which use nonstandard key bindings for copy and paste and it would be equally nice to be able to set up a paste operation from a stored string....

Versatilus commented 6 years ago

Caster's 'multi clipboard' is very convenient for moving around multiple text fragments. The problem is also one of the things that makes them so easy to use: they automatically use the Windows shortcut keys to move text between the application and the clipboard.

There are many times when applications put information into the Windows clipboard which I would like to save for later. One such example is the file manager I use, FreeCommander. It allows you to copy the path of the current file or folder to the clipboard using a menu or special shortcut. I would like to be able to say store stoosh five to put the information in slot 5 of the Caster clipboard.

Similarly, applications like bash don't use the standard Windows shortcuts for copy and paste. Obviously, custom commands for these applications are the 'correct' long-term solution, but the added flexibility of moving text between Caster and the Windows clipboard without executing the standard shortcuts would be nice.

On Mon, Mar 26, 2018 at 6:41 AM, LexiconCode notifications@github.com wrote:

Could you give me an example to copy and paste and explain a bit more what you mean by nonstandard key bindings?

...copies strings directly to the clipboard and I would like to be able to save them for later. I also occasionally use programs which use nonstandard key bindings for copy and paste and it would be equally nice to be able to set up a paste operation from a stored string....

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/synkarius/caster/issues/214#issuecomment-376169787, or mute the thread https://github.com/notifications/unsubscribe-auth/ALpedf4QrLKHl6eVdH3oglIztFUBKNpKks5tiPAagaJpZM4S5if3 .

LexiconCode commented 6 years ago

Thank you for such a detailed response.

LexiconCode commented 6 years ago

I updated your opening post to reflect the merge of important tolerance.

LexiconCode commented 5 years ago

The 4th goal should be satisfied by the following: Caster as a Python package #246 Utilizing new format instead of json for Caster settings file. #247

LexiconCode commented 5 years ago

@Versatilus are you aware that Caster already has 28 unit tests? say run unit tests

Versatilus commented 5 years ago

I'm so far behind right that it isn't even funny. I really do need to spend some time reacquainting myself with where everything is. What little I've kept up with has looked awesome! Keep up the good work!

I recently made the mistake of playing SimCity 4. Now that I have no responsibilities it's brought back a lot of the bad habits I had as a teenager. Using an eye tracker for mouse control makes the experience almost as fluid as it was when I was able to move.

One good thing that's come from the experience is that it finally compelled me to fix a problem I've had with my eye tracking software for a very long time. I really need to clean up that source code a bit and properly release it. I think others would find it useful.

I've also been forced to better acquaint myself with the way Windows handles keyboard input. I managed to fix a few glitches I've been having for quite a while. Documenting that is definitely on my list of things to do.

As soon as I can tear myself away from the game I will try to catch up to where the rest of you are and get productive within the next few days.

LexiconCode commented 4 years ago

@Versatilus unit tests have been set up right now 95 of them and they are set up the run through Travis. Continue to add more overtime. So I've checked that box in your goals.

LexiconCode commented 3 years ago
* There should be commands to store to/stage from our special clipboard history. There are many times when I'm using some program which copies strings directly to the clipboard and I would like to be able to save them for later. I also occasionally use programs which use nonstandard key bindings for copy and paste and it would be equally nice to be able to set up a paste operation from a stored string.
  I'm currently thinking the command phrases should be `store stoosh #` and `stage spark #`, but I'm open to suggestions.

Dragonfly now has ContextAction which helps handles these use cases. Basically an action gets assigned to default key and then checks the context where other is might be used. For instance foxitreader uses cs-z

from dragonfly ContextAction
        "redo [<nnavi10>]":
            R(ContextAction(default=Key("c-y")*Repeat(extra="nnavi10"),
                              actions=[
                                  (AppContext(executable=["rstudio", "foxitreader"]),
                                   Key("cs-z")*Repeat(extra="nnavi10")),
                              ])),

There might be different methods to leverage that and I'm open to suggestions.