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

press_0_for_help in proc manual_identification #672

Open
circool opened this issue Apr 13, 2024 · 0 comments
Open

press_0_for_help in proc manual_identification #672

circool opened this issue Apr 13, 2024 · 0 comments

Comments

@circool
Copy link

circool commented Apr 13, 2024

The phrase "press 0..." is spoken regardless of whether the help module is loaded.
Simple fix (I'm not a tcl expert, not sure how do pr):

    playMsg "Default" "press_0_for_help"
    playSilence 250;

to

foreach module [split $loaded_modules " "] {
  if { $module ==  "Help"} {
    playMsg "Default" "press_0_for_help"
    playSilence 250;
  }
 }

one more thought: you need to make sure that no module that supports help is active
not sure syntax, something like

if { $module ==  "Help" && $active_module == ""}
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

1 participant