nvda
516d7520 - ui.message: add optional arguments:

Commit
1 year ago
ui.message: add optional arguments: * messageID: a unique string identify for this message. This could be used to filter or customize the message, and is used with the following arguments to configure how multiple messages with the same message ID interupt each other. speakOnlyMostRecent: If a message with the same message ID has already been queued, the already queued message/s are dropped and only the most recent one is spoken. * interuptCurrentIfSameID: if speakOnlyMostRecentIfSameID is true, the first existing message in the queue is not dropped, thus a full message is always psoken. E.g. a progress bar quickly going from 0 to 100 in jumps of 1, might say "0, 25, 55, 100" rather than just stuttering until it gets to 100.. UIA NvDAObject's event_UIA_notify: suitable map the UIA notificationProgress argument to appropriate values for speakOnlyMostRecentIfSameID and interuptCurrentIfSameID. Also map them to an appropriate speech priority. E.g.: * NotificationProcessing_Important*: priority=NOW * NotificationProcessing_*ThenMostRecent: speakOnlyMostRecentIfSameID=True * NotificationProcessing_*CurrentThenMostRecent: interuptcurrentIfSameID=False * NotificationProcessing_*: priority=NEXT
Committer
Parents
Loading