Wolfpack49 Posted September 17, 2020 Share Posted September 17, 2020 If I wanted to get the actual text string within a message box or notification when it actively pops, how would I do so? GetString() seems only able to pull a keyword. I'm able to detect that a message box has popped using UI.IsMenuOpen("MessageBoxMenu"), but is there a way to grab the actual text string the message box or notification is displaying? Sorry for all the noob questions! EDIT: Just found this on the UI Script page, but looks like there is no documentation page beneath: String GetString(String menuName, String target) Gets string value at existing target location. What would be a good example of this code in use? Link to comment Share on other sites More sharing options...
Evangela Posted September 17, 2020 Share Posted September 17, 2020 (edited) You may need to use some of these: https://www.creationkit.com/index.php?title=StringUtil_Script UI element things are hard to get information about...good luck. Edited September 17, 2020 by Rasikko Link to comment Share on other sites More sharing options...
Wolfpack49 Posted September 17, 2020 Author Share Posted September 17, 2020 Ah, thanks Rasikko, looks like I need these:https://www.creationkit.com/index.php?title=GetLength_-_StringUtilhttps://www.creationkit.com/index.php?title=Substring_-_StringUtil Link to comment Share on other sites More sharing options...
Recommended Posts