Announcement

Collapse
No announcement yet.

how to set the schedule in a script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to set the schedule in a script

    I'm trying to load different schedules using the scripting interface and I'm getting the error...

    Error Running script, script run or compile error in file: BLStat_Test.txt1044:Cannot use parentheses when calling a Sub in line 3 More info: Cannot use parentheses when calling a Sub
    This is a sample script that I'm trying...

    Sub Main

    hs.Plugin("BLStat").LoadSchedule(1,"Vacation")

    End Sub

    What am I doing wrong????
    ________
    TOYOTA W TRANSMISSION SPECIFICATIONS
    Last edited by Jerry Coleman; May 15, 2011, 11:26 PM.

    #2
    Code:
    Sub Main(ByVal parm As Object)
        hs.Plugin("BLStat").LoadSchedule(1,"Vacation")
    End Sub
    Make sure you save this to a .vb script
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment

    Working...
    X