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

Keyboard.type fails with "insecure command argument recognition" #88

Closed
pfitzseb opened this issue Jan 30, 2023 · 2 comments
Closed

Keyboard.type fails with "insecure command argument recognition" #88

pfitzseb opened this issue Jan 30, 2023 · 2 comments

Comments

@pfitzseb
Copy link

Following the usage instructions at https://omlins.github.io/JustSayIt.jl/stable/usage/#Fast-command-programming-with-voice-argument-functions, type fails:

julia> start(commands=commands, max_speed_subset=["ma", "select", "okay", "middle", "right", "double", "triple", "copy", "upwards", "downwards", "take"])
[ Info: JustSayIt: I am initializing...
[ Info: Listening for commands in English (United States) (say "sleep JustSayIt" to put me to sleep; press CTRL+c to terminate)...
[ Info: Starting command: click_left (latency: 11 ms)
[ Info: Starting command: type
[ Info: Command `type` aborted: insecure command argument recognition.
^C[ Info: Terminating JustSayIt...
[ Info: Stopped listening for commands.

Ref JuliaCon/proceedings-review#121.

@omlins
Copy link
Owner

omlins commented Feb 12, 2023

@pfitzseb : thanks for the issue. However, I don't think the link you posted points points to the right example. Could you please point to the right one?

Then, it might be here rather a documentation issue then a software issue, i.e., the documentation could potentially be clearer. Concretely, after starting the command "type" you need to specify the type mode; else it will abort as shown in your snippet. To see the available type modes say "help type" (more info about help is found here: https://omlins.github.io/JustSayIt.jl/stable/usage/#Help-on-commands-callable-by-voice)

@pfitzseb
Copy link
Author

Oh, gotcha. Definitely user error, I didn't realize type takes a second argument for some reason. The error message isn't particularly helpful though :)

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