Announcement

Collapse
No announcement yet.

Script Syntax Help Needed

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

    Script Syntax Help Needed

    I created an event using the Email Access plug-in to retrieve the total pending emails in my POP account. Here is my script:

    &hs.SetDeviceString "y30", hs.GetPluginsEX("EMail Access").GetEmailCount("mypopaccount.com","mypassword"), True

    Here is the result:
    init error: Wrong number of arguments or invalid property assignment: 'hs.GetPluginsEX'

    Could someone tell me where I'm going wrong? I copied the plug-in syntax from the help file, and the SetDeviceString is just standard stuff (of course I am using the correct mail account and password info in the actual script).

    Thanks,
    George

    #2
    Hi,

    Try this instead

    &hs.SetDeviceString "y30", hs.Plugin("EMail Access").GetEmailCount("mypopaccount.com","mypassword"), True
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


      #3
      Thanks, Bob

      That was it. Works like a champ now.

      Comment

      Working...
      X