From 61ae2cef1ddb67e5d33f49d8edfa44f88d4fc8fd Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Wed, 9 Mar 2022 21:00:00 +0100 Subject: [PATCH] Created Start other programs when starting OBS (markdown) --- Start-other-programs-when-starting-OBS.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Start-other-programs-when-starting-OBS.md diff --git a/Start-other-programs-when-starting-OBS.md b/Start-other-programs-when-starting-OBS.md new file mode 100644 index 0000000..c4a6968 --- /dev/null +++ b/Start-other-programs-when-starting-OBS.md @@ -0,0 +1,20 @@ +The goal of this example is to show how to automatically start additional applications unrelated to OBS when starting OBS. + +For this we will need to set up a macro which runs exactly one time on OBS startup. +The "Macro" condition type can be used for this purpose as it offers an option to check how often a macro was executed. + +In the following example VLC will be automatically opened when starting OBS: + +![](https://obsproject.com/forum/attachments/runonceexample-png.81489/) + +If you want to make sure the conditions for the "Run once example" macro are not checked anymore after executing it a single time - e.g. when adding a lot of additional conditions or conditions which are resource intensive to check like the "video" condition - you can add the additional pause action to the end of the macro: + +![](https://obsproject.com/forum/attachments/runonceexamplepause-png.81490/) + +To automatically unpause the "Run once example" on OBS startup you will have to add another macro: + +![](https://obsproject.com/forum/attachments/runonceexampleunpause-png.81491/) + +Note: +You might be tempted to use the "Plugin state" condition type in combination with "OBS is shutting down" to unpause the macro. +This will not work as at the stage where macros are run with the "OBS is shutting down" condition it is no longer possible to save any settings changes. \ No newline at end of file