Are you sure you want to report the post shown below? This will send an email to the ATVO administrators.
Please include a short reason for reporting.
Users reporting for no reason may be locked out.
Post
Posted by Jeremy K
on
As a follow-up to Emmanuel's super helpful script that lets you change the color for the followed car:
I'm not very comfortable with scripting yet, so I needed to reverse engineer a few things that I wasn't familiar with. I'll detail everything I did with his script. This might be obvious to most of you, but maybe it will help someone in the same situation as me:
- Open your theme in the theme editor (Note: my customizations are based on Nick's 2020 ATVO theme .. so many widgets are similar) - Click the Add Script button - Name the Script SC_followed (Note, this is assuming you are using Emmanuel's script. I learned that the script name needed to match the "public class" as defined in the class) - Select the language C# - Select the Generic converter script Template - Replace the entire contents of the script with the contents from Emmanuel's script above in this thread. - Save your theme and make sure the script compiles (Note: I originally got errors because I was using a different name for the script than the public class - Go to the widget or object that has the background colour you want to change and select it in the Theme Explorer - Open the Overrides section
- Open the Override Background sub-folder - Open the Data Converter sub-folder - In the Script drop-down, select the SC_followed.cs script - In the DataBinding drop-down, select entitysessionresult_obj (Note: this is declared in the Script Comments, but I didn't understand what this meant right away :) - Save and Export your theme - Load the Theme in ATVO
BOOM!
Huge thanks to Emmanuel for getting me sorted on this .. it's a really helpful feature when switching driver context.