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

unimacroactions.ini has to be moved and the working of it updated and checked #26

Open
quintijn opened this issue Aug 29, 2024 · 1 comment
Assignees

Comments

@quintijn
Copy link
Collaborator

See dictation-toolbox/unimacro#59.

As the (unimacro) actions mechanism was in unimacro, and now is in dtactions, this change should be completed, and apparently is not so at the moment.

First the ini file "actions.ini" (as it was in unimacro) is now named "unimacroactions.ini".

The module unimacroactions.py in dtactions/unimacro should handle this, but this is not all working.

I want to try to first reproduce the error above (issue 59 of unimacro), via pytest, but there is some testing in (...)\unimacro\unimacro_test\BringupTest.py.

In any case, unimacroactions.py should be copied from a sample file in the dtactions repo into the natlink_settingsdir (where natlink.ini also is, default the ~/.natlink directory).
I would propose ~/.natlink/dtactions/unimacroactions.ini.

When files change, by the user or in updates of dtactions, this will be not easy to tackle.

Let me/us first try to have this all ported to dtactions.

Consequence: when unimacro is also installed, and the control grammar on, you can call "edit actions" or "edit unimacro actions" in order to inspect and edit this ini file.

When unimacro is NOT installed and used, the unimacroactions are still available, for example via vocola, but calling the unimacroactions.ini file cannot directly be done by a voice command.

@dougransom
Copy link
Member

@drmfinlay @quintijn Should these be unimacro actions, or part of the parent dtactions, usable by other grammars like dragonfly?

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