<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Dash Studio Quick texts - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 15 May 2026 20:31:00 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Dash Studio Quick texts</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/#post-1250</link>
                        <pubDate>Tue, 11 Aug 2020 02:36:17 +0000</pubDate>
                        <description><![CDATA[@admin5435 Thanks for the info.
I tried some simple code but it&#039;s giving a different value from the quick texts so I must not have the correct props.
var bsec = 0.0;var esec = 0.0;root[&#039;tk...]]></description>
                        <content:encoded><![CDATA[<p>@admin5435 Thanks for the info.</p>
<p>I tried some simple code but it's giving a different value from the quick texts so I must not have the correct props.</p>
<pre><span>var</span> bsec = <span>0.0</span>;<br /><span>var</span> esec = <span>0.0</span>;<br />root = <span>0.0</span>;<br /><br /><span>if</span> ($prop(<span>'DataCorePlugin.GameRunning'</span>)) {<br />  bsec = timespantoseconds($prop(<span>'BestLapTime'</span>));<br />  esec = timespantoseconds($prop(<span>'PersistantTrackerPlugin.EstimatedLapTime'</span>));<br />  root = bsec - esec;<br />}<br /><br /><span>return</span> root.toFixed(<span>2</span>);<br /><br /></pre>
<p>Also, I noticed that storing data in the root dictionary doesn't persist across fx. For example, if I get the value of root from the fx for TextColor it's always null even though my text is showing values. I thought it was essentially global?</p>
<p>Thanks again,</p>
<p>Mike</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>theKingCrow66</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/#post-1250</guid>
                    </item>
				                    <item>
                        <title>RE: Dash Studio Quick texts</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/#post-1248</link>
                        <pubDate>Mon, 10 Aug 2020 19:19:56 +0000</pubDate>
                        <description><![CDATA[Hi ! The &quot;quick texts&quot; philosophy is to give a precomputed value with no ncalc involved in this way it&#039;s not possible to get back the displayed value (which is already a text and can&#039;t be us...]]></description>
                        <content:encoded><![CDATA[<p>Hi ! The "quick texts" philosophy is to give a precomputed value with no ncalc involved in this way it's not possible to get back the displayed value (which is already a text and can't be used anymore for computations anyway). About "times" in a general manner it's stored as a timespan (a time interval storage) to use it in computations you can use the timespantoseconds method which will convert it to a number and make it "computations friendly".</p>
<p>Nicolas</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Wotever</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/#post-1248</guid>
                    </item>
				                    <item>
                        <title>Dash Studio Quick texts</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/#post-1247</link>
                        <pubDate>Mon, 10 Aug 2020 19:10:07 +0000</pubDate>
                        <description><![CDATA[Is there any documentation which describes which properties the Quick texts in Dash Studio are using?
Or, how to get the value from any widget at runtime (via a widget property) using the j...]]></description>
                        <content:encoded><![CDATA[<p>Is there any documentation which describes which properties the Quick texts in Dash Studio are using?</p>
<p>Or, how to get the value from any widget at runtime (via a widget property) using the javascript option?</p>
<p>For example, I tried to implement a fx to change the text color for "Live delta to best" based on positive or negative value.</p>
<p>Also, I tried using a simple formula by getting two props (current lap time, best lap time) and subtracting them but it seems like math on javascript variables which are from these props aren't numeric (simple time math not the correct approach).</p>
<p>I know c, c++, js, and other languages very well so it's not the coding part. It's the doc part I'm missing.</p>
<p> </p>
<p>Thanks,</p>
<p>Mike</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>theKingCrow66</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/dash-studio-quick-texts/#post-1247</guid>
                    </item>
							        </channel>
        </rss>
		