Announcement

Collapse
No announcement yet.

Rights problem with events?

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

    Rights problem with events?

    I have an event runs every minute, &run=hs.launch ("C:\windows\system32\wscript.exe","c:\program files\homeseer2\scripts\energy.vbs")
    Then energy.vbs is calling ChartDirector.API from mysql and creating png images in same directory. It's working fine if I run it from commandpromt and dubbelclick energy.vbs but not when I call it from events?
    Any suggestions?

    I get no errors at all.

    Thanks
    Last edited by tonlof; January 6, 2009, 07:21 AM. Reason: Mor info
    Please excuse any spelling and grammatical errors I may make.
    --
    Tasker Plugin / Speech Droid
    Tonlof | Sweden

    #2
    Are there any options to change the permission when you right click on the vbs file? IE run as administrator?
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Thanks Rupp, I solved it. I forgot to put a full directory for the chartfiles.
      So all the files was created in c:\windows\system32 there wscript.exe is called.
      Please excuse any spelling and grammatical errors I may make.
      --
      Tasker Plugin / Speech Droid
      Tonlof | Sweden

      Comment

      Working...
      X