Is there any automated way to have audio turn off on background EQ windows and only give audio to the focused window? That way when I switch to different characters in the foreground I don't have to fiddle with their settings to get sound on/off?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Main
...stuff
/call AudioHandler
/return
Sub AudioHandler
/if (!${EverQuest.Foreground}) {
/notify OptionsGeneralPage OGP_SoundRealismSlider newvalue 0
/notify OptionsGeneralPage OGP_MusicVolumeSlider newvalue 0
/notify OptionsGeneralPage OGP_SoundVolumeSlider newvalue 0
/if (${Window[OptionsGeneralPage].Child[OGP_EnvSoundsCheckbox].Checked}) /notify OptionsGeneralPage OGP_EnvSoundsCheckbox leftmouseup
/if (${Window[OptionsGeneralPage].Child[OGP_CombatMusicCheckbox].Checked}) /notify OptionsGeneralPage OGP_CombatMusicCheckbox leftmouseup
} else {
/notify OptionsGeneralPage OGP_SoundRealismSlider newvalue 10
/notify OptionsGeneralPage OGP_MusicVolumeSlider newvalue 10
/notify OptionsGeneralPage OGP_SoundVolumeSlider newvalue 10
/if (!${Window[OptionsGeneralPage].Child[OGP_EnvSoundsCheckbox].Checked}) /notify OptionsGeneralPage OGP_EnvSoundsCheckbox leftmouseup
/if (!${Window[OptionsGeneralPage].Child[OGP_CombatMusicCheckbox].Checked}) /notify OptionsGeneralPage OGP_CombatMusicCheckbox leftmouseup
}
/return
Sub Main
/call AudioHandler
/return
Sub AudioHandler
/notify optionswindow ogp_soundrealismslider newvalue 0
/notify optionswindow ogp_musicvolumeslider newvalue 0
/notify optionswindow ogp_soundvolumeslider newvalue 0
/if (${Window[optionswindow].Child[ogp_envsoundscheckbox].Checked}) /notify optionswindow ogp_envsoundscheckbox leftmouseup
/if (${Window[optionswindow].Child[ogp_combatmusiccheckbox].Checked}) /notify optionswindow ogp_combatmusiccheckbox leftmouseup
/return
Sub Main
/call AudioHandler
/return
Sub AudioHandler
/notify optionswindow ogp_soundrealismslider newvalue 10
/notify optionswindow ogp_musicvolumeslider newvalue 10
/notify optionswindow ogp_soundvolumeslider newvalue 10
/if (${Window[optionswindow].Child[ogp_envsoundscheckbox].Checked}) /notify optionswindow ogp_envsoundscheckbox leftmouseup
/if (${Window[optionswindow].Child[ogp_combatmusiccheckbox].Checked}) /notify optionswindow ogp_combatmusiccheckbox leftmouseup
/return