Jump to content

RunProgram option no longer working


tellmenolies26

Recommended Posts

I wrote my own .exe that is triggered by the RunProgram command in Advanced options. It used to work for years through many versions of uTorrent. But now it no longer triggers my app. The settings are correct (exactly what it always has been).

 

I've tried uninstalling/reinstalling uTorrent (v3.4.2 and v3.4.3), but it still doesn't trigger it.

 

Any idea on what the problem might be?

Link to comment
Share on other sites

Works for me (3.4.2. 39744).

I'm using 3.4.3 39944. But I have the same problem on 3.4.2 and 3.4.3.

 

When I look at Options > Preferences > Advanced > RunProgram, the spec is correct.

The "Run this program when the torrent finishes" text box is:

"D:\My Documents\My Programs\Torrent Done\Torrent Done.exe" %N

 

When I add a torrent, then check Properties > Advanced, the "Run this program when the torrent finishes" is blank. Shouldn't it be according to the Preferences?

 

I've tried setting it directly from Properties > Advanced, but it still does not trigger my program.

 

But the "Run this program when a torrent changes state" does trigger my program. It's just not what I want.

 

It has always worked before for years. I'm baffled by this. Any other idea?

Link to comment
Share on other sites

>When I add a torrent, then check Properties > Advanced, the "Run this program when the torrent finishes" is blank. Shouldn't it be according to the Preferences?

No, the global one should always work. This is for overriding it.

 

>It has always worked before for years. I'm baffled by this. Any other idea?

Try with "%N". For testing run a batch file/script with pause in it....

 

Link to comment
Share on other sites

 

>When I add a torrent, then check Properties > Advanced, the "Run this program when the torrent finishes" is blank. Shouldn't it be according to the Preferences?

No, the global one should always work. This is for overriding it.

 

>It has always worked before for years. I'm baffled by this. Any other idea?

Try with "%N". For testing run a batch file/script with pause in it....

 

I've tried "%N", but never used quotes around that for years. It's not needed because that are no spaces in "%N".

 

I tried v3.4.2 on my other system, and it works fine! So I installed v3.4.2 on this machine, and it still does not trigger. So I have to assume that it's my machine. But I'm clueless about why. I scanned the Registry for uTorrent, and everything looks normal. But there must be something that is doing this.

 

Thanks for your help either way.

 

Link to comment
Share on other sites

  • 2 weeks later...

Maybe some A/V security issues? Have you tried with a simple cmd file? or notepad? plus run-as-admin?

I have eliminated all other possible problems. No A/V security issues involved. My program does the same thing as a simple cmd file. The problem is that it is not getting the %N (or any other) param passed to my program. But my program responds to a param passed by another program. So I gave up trying to fix this from uTorrent side.

 

I wrote another program that I call Torrent Watch to do the same thing as the RunProgram option in uTorrent: Issue a command to my Torrent Done program (which writes the date, time, and file name of the finished program). It does this by watching for any additional files/folders added to the designated Torrents folder, then passes the file name to my Torrent Done program, which writes the date, time, and file name to a Log file, then shows a list of files I've downloaded using torrents. This is independent of any BitTorrent client because it just watches the Torrents folder, not a BitTorrent client. So it's a universal solution.

 

Thanks for your support in trying to help me find what the problem is with uTorrent. Again, uTorrrent worked fine on my other system. So the problem must be somewhere on this system.

Link to comment
Share on other sites

The problem is that it is not getting the %N (or any other) param passed to my program.

So, now it is not and running, but an issue passing params.... is it? Either you don't know pass parameters to programs... :P Sadly there is not even one mention by you of the text/format you put in the edit box. You want people to guess?  Be so kind as to provide a cmd file that echos 3 parameters, the command line you use to run it, and the resulted output.

Link to comment
Share on other sites

So, now it is not and running, but an issue passing params.... is it? Either you don't know pass parameters to programs... :P Sadly there is not even one mention by you of the text/format you put in the edit box. You want people to guess?  Be so kind as to provide a cmd file that echos 3 parameters, the command line you use to run it, and the resulted output.

Why the insult, rafi? What's up with that?

 

I DID mention the text/format I used in the edit box (for RunProgram): See my second msg on 15 April 2015 - 05:54 PM.

It's "D:\My Documents\My Programs\Torrent Done\Torrent Done.exe" %N

 

My own program passes a parameter to my other program fine.

 

I'm done here. Adios.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...