hi, i am looking to write a procomm script that will run at a designated time in the morning all the available scripts i have. is this possible? any help would be greatly appreciated!
There really isn't much to it, just waituntil followed by the time in the proper format, depending on what format you have Windows set to use. Here is a copy and paste from the help file:
Pauses processing until the specified date and/or time.
string [string] A time string and optional date string, specifying when script processing should continue. The date and time strings must conform to the Short date style and Time style formats specified in the Windows Control Panel's Regional Settings section.
If the date string is not specified, the default is the current date.
timeval A long time value that specifies both time and date.
Example
proc main
string DateStr ; String to contain date.
string TimeStr ; String to contain time.
DateStr = "12/31/99" ; Assign date to date string.
TimeStr = "11:59:59" ; Assign time to time string.
waituntil TimeStr DateStr ; Wait until turn of century.
endproc
Comments
This command will set FAILURE if an invalid date string and/or time string is used as an argument to the command. Active when commands will continue to "fire" during the execution of the waituntil command.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.