Why not just copy the set_speech_mode method directly from the dynamic_menu include class?
All it does is that it takesone argument, an integer. It checks if that integer is less than5 because there are only 4 supported screen readers and 0 is Sapi. So, if the argument is less than 5, it sets the internal output variable to that.
Idon'tknow if the extended menu class supports speaking through screen readers and it only lacks the means to actually set the output, or if it is not able tospeak through ascreen reader at all.
In that case, you would also need to modify the run_extended method accordingly so that it would also be able to distinguish between audio and TTS items.
Hope this helps,
Lukas
I won't be using this account any more or participating in the forum activity through other childish means like creating an alternate account. I've asked for the account to be removed but I'm not sure if that's actually technically possible here. Just writing this for people to know that I won't be replying, posting new topics or checking private messages until the account is potentially removed.