Skip to content

Commit

Permalink
Merge pull request #155 from REALSDEALS/REALSDEALS
Browse files Browse the repository at this point in the history
Add: Auto Run VBS
  • Loading branch information
REALSDEALS authored Oct 12, 2023
2 parents 935f0de + ebbe662 commit 1d753e4
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 13 deletions.
7 changes: 7 additions & 0 deletions Documentation/changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Changelog.md - pcHealth

## 12-10-2023 - @REALSDEALS

Redirected the function to use the VBS script to the Desktop location, instead of the Documents folder; this change has been made because of the following reason:
- Users are instructed to download the script to the Desktop, so it would be easier to use the script.

## 9-10-2023 - @REALSDEALS

Added some new simple functions to the script.
- TRACERT to user provided URL. (Number 13 in the Tools menu.)
- IPCONFIG to display the IP address of the system. (Number 14 in the Tools menu.)

Added a auto run VBS option to the Programs menu.

## 10-07-2023 - @REALSDEALS

Checked the script and reviewed it, it seems to be working fine.
Expand Down
3 changes: 2 additions & 1 deletion Documentation/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For now only the version names will be displayed, in the future there might be e
# Current Version(s)

Full Release - v1.5.9 (Stable)
Beta Release - v1.6.9-beta
Beta Release - v1.6.10-beta
Alpha Release - v0.3.0-alpha (PowerShell)

## Older Releases
Expand All @@ -31,6 +31,7 @@ Here you can see a overview of the older version.

### Beta Release(s)

- Beta Release - v1.6.10-beta
- Beta Release - v1.6.9-beta
- Beta Release - v1.6.8-beta
- Beta Release - v1.6.7-beta
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feel free to contact me on discord: REALSDEALS#6353
### More information regarding on how to install and use it:

- Download this repository.
- Extract it to the desktop to be sure that it will run with full permissions.
- Extract it to the DESKTOP to be sure that it will run with full permissions.
- Open the `scripts` folder and choose your preferred method by choosing the `CMD` or `PowerShell` folder.
- Open the file in the chosen folder and read the rules carefully.
- Enter in the number of the desired command that you want to run. (Number + ENTER)
Expand Down Expand Up @@ -74,9 +74,10 @@ I understand if people have their questions about that decision, but I wanted to
3. DiskInfo64 - This program will check information about your HDD/SDD (serial etc.)
4. DiskMark64 - This program will test your HDD/SDD on possible malfunctions.
5. Prime95 - This program will stress test your CPU.
6. Return to the previous menu.
7. Open the other menu, it's called 'Tools'.
8. Close the script.
6. (TEST) - Auto run VBS script.
7. Return to the previous menu.
8. Open the other menu, it's called 'Tools'.
9. Close the script.

#### KeyGrabber
The key grabber script does what it says!
Expand Down
40 changes: 32 additions & 8 deletions Scripts/CMD/pcHealth.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if '%errorlevel%' NEQ '0' (
:--------------------------------------
:: MainCode
@echo off
title pcHealth - Check your PC's Health! - version 1.6.9-beta
title pcHealth - Check your PC's Health! - version 1.6.11-beta
cd /
color D
cls
Expand All @@ -42,7 +42,7 @@ echo Thanks for downloading and using pcHealth!
echo Please be sure that you are running this Batch file in Administrator mode.
echo.
echo Made by REALSDEALS - Licensed under GNU-3 (You are free to use, but not to change or to remove this line.)
echo You are now using version 1.6.9-beta
echo You are now using version 1.6.11-beta
echo.
echo %DATE%, %TIME%
echo.
Expand Down Expand Up @@ -136,9 +136,10 @@ echo Enter number 2 to get ADW Cleaner.
echo Enter number 3 to get DiskInfo64.
echo Enter number 4 to get DiskMark64.
echo Enter number 5 to get Prime95.
echo Enter number 6 to open the tools menu.
echo Enter number 7 to return to the previous menu.
echo Enter number 8 to close the script.
echo Enter number 6 to open the VBS script.
echo Enter number 7 to open the tools menu.
echo Enter number 8 to return to the previous menu.
echo Enter number 9 to close the script.
echo ...........................................................
echo.

Expand All @@ -148,9 +149,10 @@ IF %AB%==2 GOTO ADWCLEANER
IF %AB%==3 GOTO DISKINFODOWN
IF %AB%==4 GOTO DISKMARKDOWN
IF %AB%==5 GOTO PRIMEDOWN
IF %AB%==6 GOTO TOOLS
IF %AB%==7 GOTO MENU
IF %AB%==8 GOTO CLOSE
IF %AB%==6 GOTO VBS
IF %AB%==7 GOTO TOOLS
IF %AB%==8 GOTO MENU
IF %AB%==9 GOTO CLOSE

:SYSUPDATE
cls
Expand Down Expand Up @@ -719,6 +721,28 @@ start "" https://github.com/REALSDEALS/pcHealth/releases
echo.
GOTO MENU

:VBS
cls
color 0A
echo.
echo Are you sure that you want to open the VBS script?
echo.
SET /P AP=If yes enter the number 1 to open the VBS script, enter number 2 to return to the previous sub-menu. Enter:
IF %AP%==1 GOTO VBSOPEN
IF %AP%==2 GOTO PROGRAMS

:VBSOPEN
cls
color 0A
echo.
echo Your VBS script will open now!
echo.
start "" "C:\Users\%username%\Desktop\pcHealth\Scripts\VBS\KeyGrabber.vbs"
echo.
SET /P AQ=To return to the previous sub-menu enter 1, enter number 2 to return to the main-menu or enter number 3 to exit the script. Enter:
IF %AQ%==1 GOTO PROGRAMS
IF %AQ%==2 GOTO MENU
IF %AQ%==3 GOTO CLOSE

:CLOSE
EXIT /B

0 comments on commit 1d753e4

Please sign in to comment.