Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab8b2d4
commit d4e278c
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |