<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>flattermann.net &#187; Philips Pronto</title>
	<atom:link href="http://www.flattermann.net/tag/philipspronto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flattermann.net</link>
	<description>flattermann&#039;s developer blog</description>
	<lastBuildDate>Tue, 03 May 2011 00:22:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Accessing widgets on System Page in ProntoScript</title>
		<link>http://www.flattermann.net/2009/01/accessing-widgets-on-system-page-in-prontoscript/</link>
		<comments>http://www.flattermann.net/2009/01/accessing-widgets-on-system-page-in-prontoscript/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 21:51:24 +0000</pubDate>
		<dc:creator>flattermann</dc:creator>
				<category><![CDATA[Philips Pronto]]></category>

		<guid isPermaLink="false">http://www.flattermann.net/?p=118</guid>
		<description><![CDATA[The widgets on the System Page are displayed on every other page. That&#8217;s perfect for e.g. status widgets, that show the status of a global task. You only need to add one widget to the System Page and after that, you are able to manipulate it from every page. Unfortunately, the ProntoScript tag of the [...]]]></description>
			<content:encoded><![CDATA[<p>The widgets on the System Page are displayed on every other page.</p>
<p>That&#8217;s perfect for e.g. status widgets, that show the status of a global task.</p>
<p>You only need to add one widget to the System Page and after that, you are able to manipulate it from every page.</p>
<p>Unfortunately, the ProntoScript tag of the System Activity and the System Page is not shown in PEP2. So, there is no obvious way to access widgets on that System Page via ProntoScript.</p>
<p><span id="more-118"></span>Nevertheless, the System Activity and the System Page <strong>do have </strong>a name, &#8220;PS_SYSTEM&#8221;, but it&#8217;s hidden.</p>
<p>So, you can access a widget called &#8220;MyPanel&#8221; on the System Page via:</p>
<pre class="brush: jscript; title: ;">

CF.widget(&quot;MyPanel&quot;.&quot;PS_SYSTEM&quot;,&quot;PS_SYSTEM&quot;)
</pre>
<p>And you can set the properties (e.g. label) of this widget like any other widget:</p>
<pre class="brush: jscript; title: ;">

CF.widget(&quot;MyPanel&quot;.&quot;PS_SYSTEM&quot;,&quot;PS_SYSTEM&quot;).label = &quot;XYZ&quot;;
</pre>
<p>Thanks to Jon Welfringer for this information:</p>
<p><a href="http://www.remotecentral.com/cgi-bin/mboard/prontopro/thread.cgi?2394,1#3" target="_blank">http://www.remotecentral.com/cgi-bin/mboard/prontopro/thread.cgi?2394,1#3</a></p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="donation@flattermann.net" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Donation for Accessing widgets on System Page in ProntoScript" /><input type="hidden" name="currency_code" value="EUR" /><input type="hidden" name="amount" value="" /><input type="image" src="http://www.flattermann.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="Buy me a beer" title="Buy me a beer" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=donation@flattermann.net&amp;currency_code=EUR&amp;amount=&amp;return=&amp;item_name=Donation+for+Accessing+widgets+on+System+Page+in+ProntoScript" target="paypal">If you like my work, buy me a beer. (Suggested: 3€ for a beer, or more for more beer ;-) )</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.flattermann.net/2009/01/accessing-widgets-on-system-page-in-prontoscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using shared scripts in ProntoScript</title>
		<link>http://www.flattermann.net/2009/01/using-shared-scripts-in-prontoscript/</link>
		<comments>http://www.flattermann.net/2009/01/using-shared-scripts-in-prontoscript/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 21:33:16 +0000</pubDate>
		<dc:creator>flattermann</dc:creator>
				<category><![CDATA[Philips Pronto]]></category>

		<guid isPermaLink="false">http://www.flattermann.net/?p=114</guid>
		<description><![CDATA[Unfortunately, ProntoScript does not directy support shared scripts that can be defined in one place and then used in several activities/pages. But there is a workaround! Create a widget (e.g. a panel) on a (hidden) page, put the shared code in the label of this widget and then eval&#8217; the code from another page. Example: [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, ProntoScript does not directy support shared scripts that can be defined in one place and then used in several activities/pages.</p>
<p>But there is a workaround!</p>
<p><span id="more-114"></span>Create a widget (e.g. a panel) on a (hidden) page, put the shared code in the label of this widget and then eval&#8217; the code from another page.</p>
<p>Example:</p>
<ul>
<li>Create an activity &#8220;Shared&#8221; (remember to set the PS tag to &#8220;Shared&#8221;)</li>
<li>Create a page &#8220;ScriptLibs&#8221; (remember to set the PS tag to &#8220;ScriptLibs&#8221;)</li>
<li>Create a panel &#8220;MyLib&#8221; (remember to set the PS tag to &#8220;MyLib&#8221;)</li>
<li>Put the shared code in the label of &#8220;MyLib&#8221;</li>
</ul>
<p>Then, in another activity/page, you can execute the shared code by using:</p>
<pre class="brush: jscript; title: ;">

eval (CF.widget(&quot;MyLib&quot;, &quot;ScriptLibs&quot;, &quot;Shared&quot;).label);
</pre>
<p>Thans to GuerillaBuild/Jason for this information:</p>
<p><a href="http://www.remotecentral.com/cgi-bin/mboard/prontopro/thread.cgi?2331,1#2" target="_blank">http://www.remotecentral.com/cgi-bin/mboard/prontopro/thread.cgi?2331,1#2</a></p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="donation@flattermann.net" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Donation for Using shared scripts in ProntoScript" /><input type="hidden" name="currency_code" value="EUR" /><input type="hidden" name="amount" value="" /><input type="image" src="http://www.flattermann.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="Buy me a beer" title="Buy me a beer" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=donation@flattermann.net&amp;currency_code=EUR&amp;amount=&amp;return=&amp;item_name=Donation+for+Using+shared+scripts+in+ProntoScript" target="paypal">If you like my work, buy me a beer. (Suggested: 3€ for a beer, or more for more beer ;-) )</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.flattermann.net/2009/01/using-shared-scripts-in-prontoscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Philips Pronto &#8211; a great toy (not only) for geeks</title>
		<link>http://www.flattermann.net/2009/01/philips-pronto-a-great-toy-not-only-for-geeks/</link>
		<comments>http://www.flattermann.net/2009/01/philips-pronto-a-great-toy-not-only-for-geeks/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 20:30:23 +0000</pubDate>
		<dc:creator>flattermann</dc:creator>
				<category><![CDATA[Philips Pronto]]></category>
		<category><![CDATA[Gadget]]></category>

		<guid isPermaLink="false">http://www.flattermann.net/?p=107</guid>
		<description><![CDATA[If you are searching for a perfect remote control, take a look at the new Philips Pronto Series. It includes a big touchscreen TFT, many useful firmkeys, can send IR commands, has build-in WiFi and can connect to RS232 by using an optional extender. You can fully customize the remote control by using ProntoScript, that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you are searching for a perfect remote control, take a look at the new <a href="http://www.pronto.philips.com" target="_blank">Philips Pronto Series</a>.</p>
<p><a href="http://www.pronto.philips.com/index.cfm?id=1457"><img class="alignleft" title="Pronto TSU9400" src="http://www.pronto.philips.com/library/pronto/TSU9400_dock_Lrefl.gif" alt="" width="200" height="130" /></a>It includes a big touchscreen TFT, many useful firmkeys, can send IR commands, has build-in WiFi and can connect to RS232 by using an optional extender.</p>
<p>You can fully customize the remote control by using ProntoScript, that&#8217;s basically JavaScript/ECMAScript (ECMA262 &amp; ECMA357 to be precise) with some API enhancements by Philips.</p>
<p><a href="http://www.pronto.philips.com/index.cfm?id=1457"><img class="alignright" title="Pronto TSU9600" src="http://www.pronto.philips.com/library/pronto/TSU9600_prodPage.gif" alt="" width="200" height="200" /></a>A very useful site for informations about the Pronto and ProntoScript (see the forum!) is <a href="http://www.remotecentral.com" target="_blank">http://www.remotecentral.com</a>.</p>
<p>I&#8217;m sorry if this sounds like advertising, but I&#8217;m so excited about this gadget&#8230; <img src='http://www.flattermann.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="donation@flattermann.net" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Donation for Philips Pronto - a great toy (not only) for geeks" /><input type="hidden" name="currency_code" value="EUR" /><input type="hidden" name="amount" value="" /><input type="image" src="http://www.flattermann.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="Buy me a beer" title="Buy me a beer" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=donation@flattermann.net&amp;currency_code=EUR&amp;amount=&amp;return=&amp;item_name=Donation+for+Philips+Pronto+-+a+great+toy+(not+only)+for+geeks" target="paypal">If you like my work, buy me a beer. (Suggested: 3€ for a beer, or more for more beer ;-) )</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.flattermann.net/2009/01/philips-pronto-a-great-toy-not-only-for-geeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

