Resource icon

master_text_source_file v1.1

CodeYan

Member
CodeYan submitted a new resource:

master_text_source_file - Update multiple text sources using one file

A Python script for OBS to control the text contents of multiple text sources
using only one text file. See #Protocol for details about the text file.

# Installation​

1. Make sure that you have at least Python 3+ (for OBS versions older than v28,
only Python 3.6.x is supported).
2. In OBS, go to Tools > Scripts.
3. In the Python Settings tab, set your python installation path.
4. In the Scripts tab, add the master_text_source_file.py.

# Usage​

1. Set...

Read more about this resource...
 

CodeYan

Member
CodeYan updated master_text_source_file with a new update entry:

v1.1

Increase file check delay max to int max.
Optimized script to accomodate multiple text sources being updated.
  • Update text source only if corresponding value was changed
  • Added option to update only when file was modified. Note that if this is enabled, values from the text file will only be applied if the modification timestamp of the file changes. Thus, if one were to edit a text source in OBS manually, the script won't change its value unless the file is saved again. But if one...

Read the rest of this update entry...
 

CodeYan

Member
CodeYan updated master_text_source_file with a new update entry:

v1.1 Performance optimizations

Increase file check delay max to int max.
Optimized script to accomodate multiple text sources being updated.
  • Update text source only if corresponding value was changed
  • Added option to update only when file was modified. Note that if this is enabled, values from the text file will only be applied if the modification timestamp of the file changes. Thus, if one were to edit a text source in OBS manually, the script won't change its value unless the file is saved again. But if one...

Read the rest of this update entry...
 

l1i1l

New Member
The script is interesting and works.

But, unfortunately, it only supports Latin characters.
 
Top