Author Topic: Watcher Plugin- "Then Delete"  (Read 2223 times)

0 Members and 1 Guest are viewing this topic.

horstdog

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 1
    • View Profile
    • 1Home1PC
Watcher Plugin- "Then Delete"
« on: October 08, 2018, 10:27:47 AM »
Hi Everyone

I'm trying to use the Watcher plugin to "Execute on Create" and "Then Delete"

"Execute on Create" works well but my text file does not delete after.

Any other setting in VC need to be enabled or perhaps windows folder permissions?
I'm using VC 2.2.4.0


file name=feedcat.txt
contents=VC.TellVox&&feed cat


Thank you

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Watcher Plugin- "Then Delete"
« Reply #1 on: October 08, 2018, 07:21:43 PM »
You could try to run VC "As Administrator" in case it is a permission problem.  Where is the file located?

How is the file being created?  It's possible that the file is still locked somehow by whatever application created it.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Watcher Plugin- "Then Delete"
« Reply #2 on: October 08, 2018, 09:58:01 PM »
Actually it looks like there might be a bug in the plugin.  I'll try to take a look at the code tomorrow and get back to you on this.

horstdog

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 1
    • View Profile
    • 1Home1PC
Re: Watcher Plugin- "Then Delete"
« Reply #3 on: October 08, 2018, 10:10:07 PM »
Hi James.

I was just about to reply when I saw your followup. I tried running as Admin, different folders, Dropbox and manual creation, but no success.

Thank for looking into it.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Watcher Plugin- "Then Delete"
« Reply #4 on: October 09, 2018, 12:09:53 PM »
Yeah. Sorry about that.  Funny that no one else has reported that problem in all this time.

Here's an updated version of the plugin.  Replace the file in your plugins\watcher folder and be sure to unblock it.

https://voxcommando.com/mediawiki/index.php?title=Unblock_DLL
« Last Edit: October 10, 2018, 01:32:21 PM by nime5ter »

horstdog

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 1
    • View Profile
    • 1Home1PC
Re: Watcher Plugin- "Then Delete"
« Reply #5 on: October 09, 2018, 01:57:30 PM »
Hi James

I won't be able to test now but will hopefully have an opportunity to try it out tonight.

Thank again.

horstdog

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 1
    • View Profile
    • 1Home1PC
Re: Watcher Plugin- "Then Delete"
« Reply #6 on: October 11, 2018, 09:15:56 PM »
Hi James

I tested the updated plugin and its working great.
Thanks again for the quick fix.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Watcher Plugin- "Then Delete"
« Reply #7 on: October 13, 2018, 11:08:15 PM »
My pleasure.  :)