Announcement

Collapse
No announcement yet.

Error with 2040

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

  • Blade
    replied
    Not a problem. Glad I could help

    Leave a comment:


  • bdraper
    replied
    Thanks Blade, that worked great.
    I replaced: hs.GetPluginsEX with: hs.Plugin in all of the email scripts I had customized.

    I have reviewed the Homeseer 2040 upgrade notes and did not see anything about the change to hs.GetPluginsEX but I may have missed it in a prior release. I upgraded from version 2003 to version 2040 and thats when the error started.

    Thanks for your help, I really appreciate it.

    Leave a comment:


  • Blade
    replied
    Replace this:

    hs.GetPluginsEX("EMail Access")

    with this:

    hs.Plugin("EMail Access")

    Leave a comment:


  • bdraper
    started a topic Error with 2040

    Error with 2040

    I am getting this error ever since I upgraded Homeseer to 2040 when running the following command. Any ideas?

    Command in a .vb script hs.GetPluginsEX("EMail Access").Connect(v_email_username, v_email_password)

    It's a long one...
    Scripting runtime error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Argument 'Index' is not a valid value. at Microsoft.VisualBasic.Collection.get_Item(Object Index) at scriptcode1.scriptcode1.Main(Object param) --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess) at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodInfo.Invoke(Object obj, Object[] parameters) at Scheduler.VsaScriptHost.Invoke(String ModuleName, String MethodName, Object[] Arguments)
Working...
X