From 444d87f676f8cb4c278d2da87f0737e55cd0db0b Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Wed, 6 Feb 2013 07:12:42 +1100 Subject: [PATCH] Added selector 88 to GetInfo - returns window title from SetTitle --- scripting/methods/methods_info.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripting/methods/methods_info.cpp b/scripting/methods/methods_info.cpp index b5193aca..1fb1601d 100644 --- a/scripting/methods/methods_info.cpp +++ b/scripting/methods/methods_info.cpp @@ -184,7 +184,7 @@ tInfoTypeMapping InfoTypes [] = { 85, "State files path (directory)" }, { 86, "Word under mouse on mouse menu click" }, { 87, "Last command sent" }, - + { 88, "Window title last set by SetTitle" }, @@ -535,6 +535,7 @@ VARIANT CMUSHclientDoc::GetInfo(long InfoType) case 85: SetUpVariantString (vaResult, App.m_strDefaultStateFilesDirectory); break; case 86: SetUpVariantString (vaResult, m_strWordUnderMenu); break; case 87: SetUpVariantString (vaResult, m_strLastCommandSent); break; + case 88: SetUpVariantString (vaResult, m_strWindowTitle); break; case 101: SetUpVariantBool (vaResult, m_bNoEcho); break; case 102: SetUpVariantBool (vaResult, m_bDebugIncomingPackets); break;