Skip to content

Is it possible to script "Source-Set settings" to reference an external file? #731

Answered by WarmUpTill
Dexter092 asked this question in Q&A
Discussion options

You must be logged in to vote

What you are trying to achieve should be possible by using variables.

First you need to set up a macro that assigns the contents of the file of interest to a given variable.
This can be done using a macro similar to this:

Next you can simply reference this variable in your macro that controls the settings of the given source by using this pattern:
${variable name here}

So to follow the example from above a macro, that controls the speed of a media source based on the contents of a given file, could look like this:

I hope that helps! :)
Let me know if you have any questions!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Dexter092
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants