Thread Tools Display Modes
07-26-24, 01:46 AM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 79
Question Audio Setting Frame

What command can I use to open the game's audio settings window?
  Reply With Quote
07-26-24, 03:57 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 6,006
Looking a the Blizzard code the id for the Audio page can be got using this ..

Settings.AUDIO_CATEGORY_ID

So using this line should do it..
Settings.OpenToCategory(Settings.AUDIO_CATEGORY_ID)

I haven't tested it, but my own use of the category ID while working on my own settings page opened to the addons page. Theoretically you could open directly to a subcategory page using it's id too.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
07-27-24, 02:28 AM   #3
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 79
Yes, I confirm. It works. Thank you.
  Reply With Quote
07-27-24, 02:43 AM   #4
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 79
How do I get the ID of my addon settings window?
Settings.OpenToCategory(Settings.My_Addon_Settings_ID);
  Reply With Quote
07-27-24, 03:36 AM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 6,006
You use one of the layout registration functions like this canvas one here

local category, layout = Settings.RegisterCanvasLayoutCategory(canvas, addonName)
local subcategory, layout = Settings.RegisterCanvasLayoutSubcategory( category, canvas, heading)

And then you can use something like the following

addonNS.Settings.CategoryID = category:GetID()
addonNS.Settings.SubCategoryID = subcategory:GetID()
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
07-27-24, 12:23 PM   #6
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 79
Yes, this is the solution. Once again you have helped me. Thank you.
  Reply With Quote
08-11-24, 11:56 PM   #7
AimeeWilliams
A Kobold Labourer
Join Date: Jul 2024
Posts: 1
To open the audio settings window in World of Warcraft (WoW), you can use the in-game command `/sound`. This command will bring up the audio settings panel where you can adjust various sound options. If you prefer using the game’s interface menus, you can also access the audio settings by navigating to the main menu (press `Esc`), then going to `System` and selecting the `Sound` tab. I recently bought a thesis paper through https://www.topessaywriting.org/buy-a-thesis-paper and was very pleased with the results. The thesis paper was well-researched, clearly written, and formatted according to the required academic standards. The writer followed all of my instructions and delivered a high-quality product that exceeded my expectations. The process was easy, and the paper was delivered on time. I would highly recommend this service to anyone needing to buy a thesis paper.

Last edited by AimeeWilliams : 08-26-24 at 12:31 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Audio Setting Frame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off