Thursday, 22 November 2018

windows 7 - Trigger the opening of a second program when opening another


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



Answer



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)


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...