From d93fae4f18185a4a1437788c39e95e90d3933bf6 Mon Sep 17 00:00:00 2001 From: LesFerch <79026235+LesFerch@users.noreply.github.com> Date: Sat, 23 Nov 2024 20:34:16 -0500 Subject: [PATCH] Add files via upload --- Tools/CaptureCustom.js | 3 ++- Tools/WinSetView.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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)) {