Text (FreeType2) With Templates

Text (FreeType2) With Templates 2024-02-19

markjay

New Member
markjay submitted a new resource:

Text (FreeType2) With Templates - Allows you to easily templatize the text in your scene collections

This is an enhancement to the Text (FreeType2) source for Windows. With it, you can enter text such as:

View attachment 101875
Then, you can go to Tools->Edit Text (GDI+) With Templates Variables

That will show you the variables that it has found across all of your scenes:

View attachment 101275

Then, you can fill them in:

View attachment 101276

And, you see your source update:

[ATTACH type="full"...

Read more about this resource...
 

lcalder

Member
Thanks for porting this to MacOS in such a timely manner! It works well.

I tried to delete my Text source and OBS just quit. Then I remembered to remove the {{}} fields from the text source prior to deleting and that seemed to do it...

I know you said you are done with this, but perhaps you might consider adding the ability to harvest fields from a json file like:
<person><first>FirstName1</first><last>LastName1</last></person>
<person><first>FirstName2</first><last>LastName2</last></person>
<person><first>FirstName3</first><last>LastName3</last></person>
etc
I guess it might then need a transport bar of some kind with <<back. ||pause >play. forward>> buttons on which would populate the next/previous json record... the play/pause could be to show/hide the current record... Then it would be like a text slideshow.... just an idea.
 

lcalder

Member
Alternately/additionally, the window which opens to allow the fields to be edited like first:________ last:___________ could instead show a list, which the user could add/edit/delete with +, =, -, buttons, whereby the {{first}} {{last}}, etc could be added to an internal list, which could then be traversed with a transport bar....
 
Hello, I finally got around to figuring this out for the Mac. It works nice. However, can you set up your own variables or is this limited to your first and last name/date/time? If so, please tell us how to do it. Thanks for developing it......Oh! Now I think I get it! You can put anything in-between the parenthesis to create a new category, right? Thanks.
 
Hi, i'm not sure I get the concept. LOL. It does work, but it seems I need to set it up everytime I start a new source. Correct me if I'm wrong, but is it supposed to be held in memory to be called on when needed? Please advise. Thanks.
 
Top