You’ve probably used an alarm clock, and some people can’t live without one. But today we’re not talking about that, but rather about how you can use the RoboTask program to schedule actions that trigger a sound reminder. For example, in the morning, when your computer reminds you of itself.

Script for RoboTask

So, let’s get started with learning how to create your own alarm clock using your computer.

First, we’ll need to create a new script. Let’s call it "Alarm clock", then we’ll set up a simple loop to perform the operations. We’ll use numbers for the loop—from 1 to 5.

Scheduled alarm clock

Now let’s look at how our alarm clock behaves. You can set it to display information in a special dialog box. For example, it could show today’s date and time.

The next step is a window with a prompt asking whether to stop the script or continue (in case you’re fast asleep).

Scheduled alarm clock

Let me explain what this part of the script does. A prompt window appears, and then a condition is checked: if you click Stop, the script stops; if not, the Yes/OK option is automatically selected after 30 seconds, and the script continues.

You can also add a delay between actions, for example, 3000 milliseconds.

Scheduled alarm clock

And finally, the most important part—setting up the schedule for running our script.

You can configure this in the Triggering Events tab, which means the triggering events.

Here, you set the days of the week and the time to perform the operation.

Save the action and don’t forget to enable the checkbox.

Scheduled alarm clock

You can add several different types of triggers for the operation, for example, after a certain period of time.

Was this helpful?

A
Admin

Blogger and educator on photography, design, and digital creativity.

All articles