How does one go about adding a trigger to open another program when the first opens. Specifically, I would like to open PeerBlock whenever I run uTorrent, but I can see this being very useful for other tasks as well.

I've tried using Task Scheduler, but cannot find a trigger that corresponds to uTorrent (or a non-Windows-based trigger for that matter).

link|improve this question

feedback

2 Answers

up vote 0 down vote accepted

One simple way would be to replace the shortcut to your application with a shortcut to a batch file that opens the application and the 2nd application.

Something like this:

@echo off
start "main title" "C:\program files\main application\main application.exe"
start "other title" "C:\program files\other application\other application.exe"

(double check the syntax as I'm a little rusty)

link|improve this answer
LOL! Just a few moments earlier! Yugh! Please include @echo off at the top so the cmd prompt won't appear ;) – BloodPhilia Jan 2 '11 at 21:52
@BloodPhilia - OK, will do – ChrisF Jan 2 '11 at 21:53
feedback

Specifically for uTorrent....

In the Preferences dialog box of uTorrent, open Advanced > Run Program. There you can write an executable's address to run when the state of a torrent changes. So you can start another program when a torrent starts. It has a specific style like thsi: IF %S==1 (means if state is started). You can find description of commands and state info on the same window.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.