[Request] SoundPlay a mp.3 , how to switch sounds by user

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Tobgun1
Posts: 123
Joined: 23 Feb 2023, 07:28

[Request] SoundPlay a mp.3 , how to switch sounds by user

10 Apr 2023, 08:51

Hello 😊

I am using SoundPlay in several scripts. I like the audio feedback and like to integrate commands such as

Code: Select all

ComObject("SAPI.SpVoice").Speak("Function Activated")
I like to do it in my foreign language (german) and in English to keep it multilingual

Same with the mp3 files I want to decide between sounds.

My solution for now was make a script for both languages and make a new script for each sound version 🤦‍♂️🤷🏻‍♂️🙈

So is there any possibility to write and choose those 2 commands in different versions in the same script ?

Like a script based function to add mp3 one today and if I want to . I can add mp3 #2 the next time.


Or switch between the sapi voice command "activated" and "aktiviert" ?

Thanks for all who are reading this and might have some ideas and suggestions. Ot better code parts I can work with 🙈🤭

Thanks and Have a nice day, Tobgun1

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: balawi28, Draken and 73 guests