Skip to content

Commit

Permalink
updated & improved
Browse files Browse the repository at this point in the history
  • Loading branch information
niirmaaltwaatii committed Jul 22, 2020
1 parent ab8b2d4 commit d4e278c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
7 changes: 5 additions & 2 deletions MsgBx.vbs
@@ -1,3 +1,6 @@
Set objArgs = WScript.Arguments
msgTxt = objArgs(0)
MsgBox msgTxt
msgTtl = objArgs(0)
msgTxt = objArgs(1)
msgTyp = objArgs(2)
n=msgbox(msgTtl,msgTyp,msgTxt)

10 changes: 10 additions & 0 deletions README.md
@@ -1,2 +1,12 @@
# WinPop
Windows Program to show PopUp Messages

# SetUp
Install Git for Windows <br/>
Commands:- <br/>
git clone https://www.github.com/niirmaaltwaatii/WinPop.git <br/>
cd WinPop <br/>
WinPop.bat <br/><br/>

OR <br/>
Download the Compressed File & Extract
26 changes: 25 additions & 1 deletion WinPop.bat
@@ -1,3 +1,27 @@
@echo off
REM By Niirmaal twaatii
:: Take Inputs
set /p ttl="Enter Title: "
set /p txt="Enter a Message: "
cscript MsgBx.vbs txt

:: Show Msg Types
echo ------------------------------------
echo Message Types :-
echo [0] Normal Msg - Ok button Only
echo [1] OK and Cancel buttons
echo [2] Abort, Retry, and Ignore buttons
echo [3] Yes, No, and Cancel buttons
echo [4] Yes and No buttons
echo [5] Retry and Cancel buttons
echo [16] Critical Message icon
echo [32] Warning Query icon
echo [48] Warning Message icon
echo [64] Information Message icon
echo ------------------------------------

:: Set Msg Type
set /p typ="Select Message Type: "

REM Show Message
cscript MsgBx.vbs %txt% %ttl% %typ%
::niirmaaltwaatii

0 comments on commit d4e278c

Please sign in to comment.