diff --git a/Tools/CaptureCustom.js b/Tools/CaptureCustom.js index be7c61c..df11f38 100644 --- a/Tools/CaptureCustom.js +++ b/Tools/CaptureCustom.js @@ -16,7 +16,8 @@ oWSH = WScript.CreateObject("Wscript.Shell"); oFSO = WScript.CreateObject("Scripting.FileSystemObject"); function MsgBox(prompt, buttons, title) { - oWSH.Popup(prompt, 0, title, buttons); + var result = oWSH.Popup(prompt, 0, title, buttons); + return(result); } Temp = oWSH.ExpandEnvironmentStrings("%Temp%"); diff --git a/Tools/WinSetView.js b/Tools/WinSetView.js index eb34423..4a7075a 100644 --- a/Tools/WinSetView.js +++ b/Tools/WinSetView.js @@ -10,7 +10,8 @@ oWSH.CurrentDirectory = MyPath; Z = "\r\n"; ZZ = Z + Z; function MsgBox(prompt, buttons, title) { - oWSH.Popup(prompt, 0, title, buttons); + var result = oWSH.Popup(prompt, 0, title, buttons); + return(result); } if (!oFSO.FileExists(INIFile)) {