ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

#1  

Absolutely.... Have you read down the script commands... You should check out all the available commands so you will be able to do this kind of easy stuff yourself... Below are reserved script variables that will get you what you want...

$date $month $year $day $dayName $hour $minute $second $monthName $time

#2  

Here is the script that I use to tell the time. It is not my code, I believe it is from Rich but not sure.


# ------|
# Time |
# ------|

:Initialise
$hour_word=$hour
SayWait("According to my data calculations the time is ")

IF ($hour>12)
$hour_word=$hour-12
Elseif ($hour=0)
$hour_word=0
#$hour_word=12
ENDIF 

$hour_word=$hour_word + ":"

IF ($Minute=0)
SayWait($hour)
goto (AM_PM)
ELSEIF ($minute<30)
Say($minute + "minutes past " + $hour_word)
ELSE 
SayWait($hour_word + $minute)
goto(AM_PM)
ENDIF 


:AM_PM
IF ($hour<12)
SayWait("a.m.")
ELSE 
SayWait("p.m.")
ENDIF 

halt()

PRO
USA
#3  

awesome, thanks for everyones help.