Starting an Executable When a Task is Registered
Writing a task that starts an executable when a task is registered is done by defining a registration trigger and an executable action.
Registration Trigger
Registration triggers start a task as soon as it is registered. You can also specify a delay for the registration trigger, which starts a task after a specific amount of time (the delay) after the task is registered. The delay is specified in the Delay property of the IRegistrationTrigger interface (RegistrationTrigger for scripting).
Note
When a task with a registration trigger is updated, the task will execute after the update occurs.
Registration Trigger Examples
The following examples start Notepad when a task is registered:
- Registration Trigger Example (Scripting)
- Registration Trigger Example (C++)
- Registration Trigger Example (XML)
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for