How can I limit frame count by counting a text list? I have a list of names in a Text Block that are separated by line. There will be different amounts of names. I am using the list to generate titles but want to render one title per frame. I want to render each frame using the current name from the list.
So I need to :


Read the list for number of lines
Change the scene length to total number of lines
Copy and Enter the current name in the "file output" field
Render frame


I am using Animation Nodes to generate the changing text, perhaps I can get number of lines from Text Block List Length?
Also I could get the current "Name" from Split Text reader to enter in the File Output?



Can I send Values (frame total) and Strings (file names) from Animation Nodes to Blender?
You may use an Expression node. The two properties you want to edit a scene properties. You can know their path from their python tool-tip (Hover over the property). So the expression node can be as follows: