Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
You can do whatever you want but not for sale as long as you credit me as the original author.
File credits
@scrivener07 (Discord) > oh God, he was amazing!
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.3.2
Fixed possible CTD for Skyrim SE 1.5.97.
New feature - exit MCM if the latest key combination was pressed in MCM.
Version 1.3.1
Small hotfix, "Console" menu invoke was changed to "HUD Menu" invoke, this should fix the function call in some cases.
Thank you for the info, lilebonymace.
Version 1.3
Added support for combinations of 2 keys, more info in example config.
Version 1.2
UI delays are now read from config file Data/OpenMCMHotkey.json.
fDelayMod is user-related, it depends on your MCM mods count.
fDelayPage is mod-related, it depends on specific MCM mod complexity.
Changes in user config schema, added fDelayPage override option. Pay attention!
Version 1.1
UI delays are now separated from OpenMCMDelay to OpenMCMDelayMod and OpenMCMDelayPage variables.
OpenMCMDelayMod > a delay before opening mod, OpenMCMDelayPage > a delay before opening page.
If you have script latency or MCM is too complicated to load fast so mod or page doesn't open > increase these values.
This mod will allow you to register a key to open any specific MCM mod and its page.
Features - It can open MCM list itself, obviously. - It can open any specific mod by its name. - It can open any specific page of the mod by its name. - It also offers you a locker if you want to disable keys you don't want. - After you open MCM with keys combination you can close MCM with the same combination. - All this data is stored in JSON files in "Data/OpenMCMHotkey" folder, you don't need plugins to register keys. - Example SkyUI config is provided, you can use it as reference, all data is clarified.
Settings - Mod options are stored in Data/OpenMCMHotkey.json file > Settings. - fDelayMod is user-related, it depends on your MCM mods count. - fDelayPage is mod-related, it depends on specific MCM mod complexity.
Compatibility - Compatible with MCM Helper, I use this framework myself. - Must be compatible with Menu Maids as long as target mod is present in the UI list. - Users report about too fast scrolling in menus after any hotkey used. I don't know what is the culprit.
For mod authors - If you want users to open your MCM with a hotkey you can use regular hotkey system and just toggle your locker on and off. - If you want to open your MCM from active magic effect or activator object reference you can use this code:
OpenMCMQuestScript OpenMCMQuest = Quest.GetQuest("OpenMCMQuest") as OpenMCMQuestScript If (OpenMCMQuest as Bool) Float MyMenuLoadTime = 1.0 OpenMCMQuest.OpenMCM("$MyMCM_ModName", "$MyMCM_PageName", MyMenuLoadTime) EndIf
An addition: OpenMCMQuest.ModName and OpenMCMQuest.PageName properties will always contain the latest request.