Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually changing contexts #199

Open
ericricky opened this issue Jul 21, 2019 · 5 comments
Open

Manually changing contexts #199

ericricky opened this issue Jul 21, 2019 · 5 comments

Comments

@ericricky
Copy link

I'm interested in turning contexts on and off with voice commands. I haven't been able to get it to work so far. Here is an example of something I tried that didn't work. Does anyone have any suggestions for other things to try?

@LexiconCode
Copy link
Member

LexiconCode commented Jul 21, 2019

In Caster we have something called RDP mode that can be turned on in the settings. Basically this allows people to trigger context manually by using the pronunciation of a rule for all applications.

Here's an example grammar firefox. As time allows I will try to give you more detailed explanation.

Basically what that does is changing the context from a app specific context such as Firefox into a global context.

I should probably mention I referenced an older commit of caster as it's a little more readable than the current implementation that's defined outside the grammar.

@ericricky
Copy link
Author

@LexiconCode thanks, that looks useful. I tried installing Caster but it's not able to connect to the Aenea server. I followed the instructions for setting up Caster with Aenea here. This is what I get in the Natlink message window:

 UserDirectory: C:\Users\IEUser\Documents\Caster
-- natlinkmain starting...
--- natlinkstartup starting...
Aenea client-side modules loaded successfully
Settings:
	HOST: localhost
	PORT: 8240
	PLATFORM: proxy
	USE_MULTIPLE_ACTIONS: True
	SCREEN_RESOLUTION: [1920, 1080]
Socket error connecting to aenea server. To avoid slowing dictation, we won't try again for 5 seconds.
Aenea: Successfully connected to server.


Caster: Network off-line check network connection


*- Starting Caster v 0.6.11 -*
natlinkmain started from C:\NatLink\NatLink\MacroSystem\core:
  NatLink version: 4.1whiskey3
  DNS version: 15
  Python version: 27
  Windows Version: 7
User defined macro's (UserDirectory) enabled: C:\Users\IEUser\Documents\Caster
----------------------------------------
Socket error connecting to aenea server. To avoid slowing dictation, we won't try again for 5 seconds.
Socket error connecting to aenea server. To avoid slowing dictation, we won't try again for 5 seconds.

And then I get another socket error message every 5 seconds while the mic is awake.

Do you use Aenea? Do you know the best place to ask about getting it to work?

@LexiconCode
Copy link
Member

LexiconCode commented Jul 21, 2019

@ericricky I had Aenea set up about a month ago running with Caster. Due to a hard drive failure I haven't reset it up of late. However there are users that currently use Caster and Aenea.

That being said the best place support would be in the Caster Gitter Channel. From there we can pick up the conversation and others can chime in.

A few things to note as you bring up the discussion the new channel.

  • Did Aenea work for you before setting it up with Caster?
    • The process is essentially the same setting up Aenea with vanilla dragonfly outside of use_aenea to true and including aenea the yapsy-plugin to enable caster clipboard functionality.
    • If Aenea did work at one point, revert to those settings/state and we will start from there.
    • Assuming you're using the Windows as a guest through virtual box without an Internet connection. You can set Caster to online_mode = false which disables online internet dependent features. Features currently include update checks for Dragonfly and Caster(PIP package only)

I'll see you in the chat room of Caster and the community and I will get you up and running.

@ericricky
Copy link
Author

@LexiconCode sounds good, thanks for the help!

@LexiconCode
Copy link
Member

I should mention Caster 1.x.x no longer has RDP mode. Hopefully in the future to be reimplemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants