The following script can get the rest days of this month and return it. You can consider it as a function and use the Play Another Script command to call it.
Rest Days

To learn how to play another script, please see http://blog.robot-soft.com/play-another-script-in-automatic-mouse-and-keyboard

And you can download the sample from RestDaysOfMonth.zip.

Now Automatic Mouse and Keyboard has a new function WaitTime. It can wait for a specified time of today. If it missed the time, it will return False.
WaitTime

You can use it to some every day work automatically.
Every Day Work

You can download the sample from EveryDayWork.amk.

And you can compile the script to EXE and put the EXE into the Windows Startup Folder to do the every day work automatically. If you don’t know how to compile a script to EXE, please see http://blog.robot-soft.com/create-a-calculator
Startup Task

© 2017 RobotSoft Suffusion theme by Sayontan Sinha