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.

Think about it if you get this than you will be able to go on that twiddy vacation you always wanted.

In Automatic Mouse and Keyboard, a script can play another script. Play another script just like invoke a function, you can pass arguments and receive script return value.
Play Another Script

You can learn how to pass and receive arguments from PlayScriptSample1.zip.
And you can learn how to modify values in another script from PlayScriptSample2.zip.

© 2017 RobotSoft Suffusion theme by Sayontan Sinha