Conjoined Twins

IFTTT-style application actions using auditing and scheduled tasks under Windows

How it works

The script audits a trigger application to make it raise an event when it's executed, then schedules a task to run an action command on that event. For example an automation script, or a batch file, or another app.

Advantages

Action is always conjoined with the trigger app, even when it starts from opening a file or from another script

No additional thing running in the background, polling every few seconds to see if your trigger app has started

Easily disable/enable in Task Scheduler

Limitations

You may not have permissions to audit some Windows executables

Slight lag after the trigger before the action runs

False positive when clicking properties on your trigger app the action is executed.