Hello all,
I am looking for a method of creating a macro to write into the voice chat channel using the new “Speak for Me” Function
A few commands I’ve tried:
/run SlashCmdList["ANERRIACHAT"](1)
/voice party
/run ChatFrameChannelButton:GetScript(‘OnClick’)(ChatFrameChannelButton)
Essentially I just want to make a macro that functions similar to /party hello friends But writes in the voice channel so that it will read aloud to my party. Thanks for the help.
-Sen
if “anerriachat” is a registered slash command already you shouldn’t need that 1st run, just use /anerriachat (or whatever the /cmd is) directly
Also not sure if ‘OnClick’ in your source actually is using ‘ and ’ (autoformatting can bite you in the butt) instead of true single quote’s 'OnClick'
The in-game voice chat has voice channels that correspond to the default text channels.
If you have “Speak for me” enabled and join a voice channel then anything you type in the corresponding text channel should be read aloud.
So if you join the party voice channel then /party hello friends should work.
This does not work unfortunately. There is actually a separate text window (labeled “voice”) that opens up that is used exclusively for the tts function. It does not read out of the party chat at all.
Oops, I should have actually tested a macro instead of just going off the way the chat box looked.
SendChatMessage has a new chat type “VOICE_TEXT”
/run SendChatMessage('Put your message here', 'VOICE_TEXT')
1 Like
Works fantastically, thank you very much!
1 Like