Xbasic
SCRIPT_SCHEDULE_NAME_GET Function
Syntax
Script_Name as C = SCRIPT_SCHEDULE_NAME_GET(N slot)
Arguments
- slotNumeric
A value between 1 and 10 inclusive that specifies which schedule timer to use. There are 10 timers available.
Description
Return the scripts name (if one is scheduled for the slot).
Discussion
The SCRIPT_SCHEDULE_NAME_GET() function returns the name of the script that is associated with Timer. Timer is a value between 1 and 10. The Script_Name must previously have been scheduled to play back using the SCRIPT_SCHEDULE()command.
Example
Schedules the script 'Foo2' to play at 8:30 PM using timer 2.
script_schedule("Foo2", "20:30", 2)
Determines which script is associated with Timer 2.
script = script_schedule_name_get(2)
Limitations
Desktop applications only.
See Also