How I created my Own Alarm that alerts me every hour

Hey, Let's Learn Something
Geek Culture
Published in
3 min readJul 11, 2023

--

We will use custom codes and create a VBS file

1. Open the VBS File
Download our custom-coded VBS file and open it in Notepad. You can simply drag the VBS file into Notepad to view and edit its contents.

Download VBS file: Click here

2. Customizing the Alarm
Within the VBS file, you can customize various aspects of the alarm to your liking. You can choose your own alarm sound, adjust its playing duration, and specify the time for the loop alarm.

2.1 Choose your alarm music:
To change the alarm sound, simply replace the file location with your own music file at “Dim sound: sound = ‘C:/..…/’”

2.2 Change the duration of play for the alarm music:
WScript.Sleep(4000) — This is in milliseconds, so if you want to play the alarm music for 5 seconds, change it to 5000 or as desired.

2.3 Set the interval for the loop alarm:
Dim interval: interval = 20 — Change the value of 20 to any number of minutes. This will give you a loop musical alert at the specified intervals.

--

--

Hey, Let's Learn Something
Geek Culture

We try, experiment, and then share a how-to-do on things like apps, windows, WordPress, sites, and whatever is useful and interesting.