Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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).

share|improve this question

2 Answers 2

up vote 1 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)

share|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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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