revision #1 EyeAuras version 1.3.5644.0
uploaded by linqse
released 128 weeks ago 10/31/2023 04:08:00
Application/Game
Tags
Public pack2 auras1 folderExecuteScript
About this pack

Packing configuration

Pack settings
does not have a name
EyeAuras settings

Aura Tree


SoundPad
SoundPadLib
Action
On Exit Actions
Execute Script
string SOUNDPAD_PATH = @"C:\Program Files (x86)\Steam\steamapps\common\Soundpad\Soundpad.exe"; // Executes a command on Soundpad using the provided command string. void ExecuteCommand(string command) { var startInfo = new ProcessStartInfo { FileName = SOUNDPAD_PATH, Arguments = $"-rc {command}", UseShellExecute = false, CreateNoWindow = true }; using (var process = new Process { StartInfo = startInfo }) { process.Start(); process.WaitForExit(); } } // Plays a sound at the given index on the specified output devices. void PlaySound(int index, bool speakers = true, bool mic = false) { var command = $"DoPlaySound({index},{speakers.ToString().ToLower()},{mic.ToString().ToLower()})"; ExecuteCommand(command); } // Plays a sound from a specific category on the specified output devices. void PlaySoundFromCategory(int categoryIndex, int soundIndex, bool speakers = true, bool mic = false) { var command = $"DoPlaySoundFromCategory({categoryIndex},{soundIndex},{speakers.ToString().ToLower()},{mic.ToString().ToLower()})"; ExecuteCommand(command); } .Trim(' ','\t','\n','\r')
Revisions

# Released User Pack
rev.1 128 weeks ago 10/31/2023 04:08:00 +00:00 linqsedownload