<?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>Autoplay Media Studio Examples &#38; Scripts &#187; TextFile</title>
	<atom:link href="http://amstudio.azman.info/tag/textfile/feed/" rel="self" type="application/rss+xml" />
	<link>http://amstudio.azman.info</link>
	<description>Samples for Autoplay Media Studio Users</description>
	<lastBuildDate>Fri, 17 Jun 2011 15:52:53 +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>Load Combo Items from a Text File</title>
		<link>http://amstudio.azman.info/2009/03/06/load-combo-items-from-a-text-file/</link>
		<comments>http://amstudio.azman.info/2009/03/06/load-combo-items-from-a-text-file/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 17:33:01 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[String Action]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[Button Object]]></category>
		<category><![CDATA[Delimited String to Table Function]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[TextFile]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=154</guid>
		<description><![CDATA[Hi, We have seen most methods to populate  Combo.  I would like to share another way, which is an important one. In this example, we will import Combo items from a Text File. This file has comma separated values ( techies call em CSVs ). In our case, each line in the Text File will [...]]]></description>
			<content:encoded><![CDATA[<table border="0">
<tbody>
<tr>
<td><a href="http://www.tkqlhce.com/click-3414080-10541904" target="_top"><img src="http://www.tqlkg.com/image-3414080-10541904" border="0" alt="image: DrawPlus X2 from Serif" width="234" height="60" /></a></td>
<td><a href="http://www.dpbolvw.net/click-3414080-10541907" target="_top"><img src="http://www.ftjcfx.com/image-3414080-10541907" border="0" alt="image: PhotoPlus X2 from Serif" width="234" height="60" /></a></td>
</tr>
</tbody>
</table>
<p>Hi,</p>
<p>We have seen most methods to populate  Combo.  I would like to share another way, which is an important one.</p>
<p>In this example, we will import Combo items from a Text File. This file has comma separated values ( techies call em CSVs ). In our case, each line in the Text File will contain Text and Data separated by a comma.</p>
<p>To separate each line into Text and Data and insert them into the Combo, we will use a function called DelimitedStringFunction ( available in the AMS software Script Gallery Folder ). I placed this function in the Global Panel.</p>
<p>For this example, I use a Button to import data from the Text File. If you want to load items directly as your App starts, just Copy the scripts in the Button and Paste it in the Page OnShow.</p>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/loadcombodatafromtextfile.jpg"><img class="size-medium wp-image-155" title="loadcombodatafromtextfile" src="http://amstudio.azman.info/wp-content/uploads/2009/03/loadcombodatafromtextfile-300x215.jpg" alt="Screen Shot : Load Combo Items from a Text File" width="300" height="215" /></a><p class="wp-caption-text">Screen Shot : Load Combo Items from a Text File</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/tag/textfile/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</p>
<p>Please leave a comment about this example.</p>
<p><a href="http://www.tkqlhce.com/mn97y1A719PTURUQYQPRQWTTWSV" target="_blank" onmouseover="window.status='http://learning.graphics.com/';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.awltovhc.com/hc103bosgmk59A7A6E6576C99C8B" alt="Graphics.com/Learning" border="0"/></a></p></p>
<div class="addtoany_share_save_container"><ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Autoplay%20Media%20Studio%20Examples%20%26amp%3B%20Scripts&amp;siteurl=http%3A%2F%2Famstudio.azman.info%2F&amp;linkname=Load%20Combo%20Items%20from%20a%20Text%20File&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F06%2Fload-combo-items-from-a-text-file%2F"><img src="http://amstudio.azman.info/wp-content/plugins/add-to-any-ori/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://amstudio.azman.info/2009/03/06/load-combo-items-from-a-text-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Combo Box to Active ListBox</title>
		<link>http://amstudio.azman.info/2009/03/02/combo-box-to-active-listbox/</link>
		<comments>http://amstudio.azman.info/2009/03/02/combo-box-to-active-listbox/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 19:32:53 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Application Action]]></category>
		<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[DialogEx]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[AMS Samples]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Autoplay Media Studio Samples]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[TextFile]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=81</guid>
		<description><![CDATA[This example extends the previous example with an &#8220;active&#8221; ListBox. &#62; ListBox OnSelect will read a TextFile and fill the content into a Paragraph &#62; ListBox OnDoubleClick will open a Dialog Box containing Text and Image. &#62; Only 1 Dialog Box is used and will pull items on the fly. Please Login or Register to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tkqlhce.com/mn97y1A719PTURUQYQPRQWTTWSV" target="_blank" onmouseover="window.status='http://learning.graphics.com/';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.awltovhc.com/hc103bosgmk59A7A6E6576C99C8B" alt="Graphics.com/Learning" border="0"/></a></p>
<p>This example extends the previous example with an &#8220;active&#8221; ListBox.</p>
<p>&gt; ListBox OnSelect will read a TextFile and fill the content into a Paragraph</p>
<p>&gt; ListBox OnDoubleClick will open a Dialog Box containing Text and Image.</p>
<p>&gt; Only 1 Dialog Box is used and will pull items on the fly.</p>
<div id="attachment_82" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/11.jpg"><img class="size-medium wp-image-82" title="Combo to Active Listbox" src="http://amstudio.azman.info/wp-content/uploads/2009/03/11-300x183.jpg" alt="Screen Shot : Combo to Active Listbox" width="300" height="183" /></a><p class="wp-caption-text">Screen Shot : Combo to Active Listbox</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/tag/textfile/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.
</p>
</p>
<table border="0">
<tbody>
<tr>
<td><a href="http://www.tkqlhce.com/click-3414080-10541904" target="_top"><img src="http://www.tqlkg.com/image-3414080-10541904" border="0" alt="image: DrawPlus X2 from Serif" width="234" height="60" /></a></td>
<td><a href="http://www.dpbolvw.net/click-3414080-10541907" target="_top"><img src="http://www.ftjcfx.com/image-3414080-10541907" border="0" alt="image: PhotoPlus X2 from Serif" width="234" height="60" /></a></td>
</tr>
</tbody>
</table>
<div class="addtoany_share_save_container"><ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Autoplay%20Media%20Studio%20Examples%20%26amp%3B%20Scripts&amp;siteurl=http%3A%2F%2Famstudio.azman.info%2F&amp;linkname=Combo%20Box%20to%20Active%20ListBox&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F02%2Fcombo-box-to-active-listbox%2F"><img src="http://amstudio.azman.info/wp-content/plugins/add-to-any-ori/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://amstudio.azman.info/2009/03/02/combo-box-to-active-listbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combo Box to Dialog Content On-The-Fly</title>
		<link>http://amstudio.azman.info/2009/03/01/combo-box-to-dialog-content-on-the-fly/</link>
		<comments>http://amstudio.azman.info/2009/03/01/combo-box-to-dialog-content-on-the-fly/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 13:07:23 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Application Action]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[DialogEx]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[AMS Samples]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Autoplay Media Studio Samples]]></category>
		<category><![CDATA[Button Object]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[TextFile]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=59</guid>
		<description><![CDATA[Our previous examples show how to call Dialogs from Combo Box. However, content are hardcoded into several DIALOGS. Lets see how to use a single Dialog Only to insert different Text and Image into it when we made a selection. Saves lots of bytes and time. The IMAGE which is set into the DIALOG PAGE [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tkqlhce.com/mn97y1A719PTURUQYQPRQWTTWSV" target="_blank" onmouseover="window.status='http://learning.graphics.com/';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.awltovhc.com/hc103bosgmk59A7A6E6576C99C8B" alt="Graphics.com/Learning" border="0"/></a></p>
<p>Our previous examples show how to call Dialogs from Combo Box. However, content are hardcoded into several DIALOGS.</p>
<p>Lets see how to use <strong>a single Dialog Only</strong> to insert different Text and Image into it when we made a selection. Saves lots of bytes and time. The IMAGE which is set into the DIALOG PAGE will maintain its aspect ratio by using Worm&#8217;s function.</p>
<p>Also, we use  BUTTON to open relevant TEXT FILE. This method can also be used to launch all types of files either resident in AMS Source Folder or PC. It will open in its native app. Knowing this will help us very much in development.</p>
<div id="attachment_60" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/8.jpg"><img class="size-medium wp-image-60" title="Combo2DialogOnTheFly" src="http://amstudio.azman.info/wp-content/uploads/2009/03/8-300x212.jpg" alt="Screen Shot : Combo to Dialog OnTheFly" width="300" height="212" /></a><p class="wp-caption-text">Screen Shot : Combo to Dialog OnTheFly</p></div>
<p>Right-click to <a title="Combo to Dialog OnTheFly" href="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2combo-v3.apz"><span style="text-decoration: underline;"><strong>Download the APZ file</strong></span></a>.
</p>
</p>
<table border="0">
<tbody>
<tr>
<td><a href="http://www.tkqlhce.com/click-3414080-10541904" target="_top"><img src="http://www.tqlkg.com/image-3414080-10541904" border="0" alt="image: DrawPlus X2 from Serif" width="234" height="60" /></a></td>
<td><a href="http://www.dpbolvw.net/click-3414080-10541907" target="_top"><img src="http://www.ftjcfx.com/image-3414080-10541907" border="0" alt="image: PhotoPlus X2 from Serif" width="234" height="60" /></a></td>
</tr>
</tbody>
</table>
<div class="addtoany_share_save_container"><ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Autoplay%20Media%20Studio%20Examples%20%26amp%3B%20Scripts&amp;siteurl=http%3A%2F%2Famstudio.azman.info%2F&amp;linkname=Combo%20Box%20to%20Dialog%20Content%20On-The-Fly&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F01%2Fcombo-box-to-dialog-content-on-the-fly%2F"><img src="http://amstudio.azman.info/wp-content/plugins/add-to-any-ori/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://amstudio.azman.info/2009/03/01/combo-box-to-dialog-content-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Combo Box to Image</title>
		<link>http://amstudio.azman.info/2009/03/01/combo-box-to-image/</link>
		<comments>http://amstudio.azman.info/2009/03/01/combo-box-to-image/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 12:21:10 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[AMS Samples]]></category>
		<category><![CDATA[Autoplay Media Studio Samples]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[TextFile]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=55</guid>
		<description><![CDATA[This simple example can easily become applications such as E-Album, E-Catalogue, E-Archive and DeskTop Teaching Software. To make it more intelligent, connected and interactive, add Dermot&#8217;s and Reteset&#8217;s plugins to it. &#62; From Combo, it pulls text to Labels. &#62; From Combo, it pulls relevant info from a Text File and set them into Paragraph. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tkqlhce.com/mn97y1A719PTURUQYQPRQWTTWSV" target="_blank" onmouseover="window.status='http://learning.graphics.com/';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.awltovhc.com/hc103bosgmk59A7A6E6576C99C8B" alt="Graphics.com/Learning" border="0"/></a></p>
<p>This simple example can easily become applications such as E-Album, E-Catalogue, E-Archive and DeskTop Teaching Software. To make it more intelligent, connected and interactive, add <strong>Dermot&#8217;s</strong> and <strong>Reteset&#8217;s</strong> plugins to it.</p>
<p>&gt; From Combo, it pulls text to Labels.</p>
<p>&gt; From Combo, it pulls relevant info from a Text File and set them into Paragraph.</p>
<p>&gt; From Combo, it pulls relevant Image to the Page</p>
<p>&gt; No Dialog Box</p>
<p>&gt; We maintain the Image&#8217;s <strong>aspect ratio</strong> by using a Global Function created by <strong>Worm</strong>.</p>
<div id="attachment_57" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/7.jpg"><img class="size-medium wp-image-57" title="Combo to Image" src="http://amstudio.azman.info/wp-content/uploads/2009/03/7-300x215.jpg" alt="Screen Shot : Combo to Image" width="300" height="215" /></a><p class="wp-caption-text">Screen Shot : Combo to Image</p></div>
<p>Right-click to <span style="text-decoration: underline;"><strong><a title="Combo to Image" href="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2combo-v4.apz">Download this APZ file.</a></strong></span>
</p>
</p>
<table border="0">
<tbody>
<tr>
<td><a href="http://www.tkqlhce.com/click-3414080-10541904" target="_top"><img src="http://www.tqlkg.com/image-3414080-10541904" border="0" alt="image: DrawPlus X2 from Serif" width="234" height="60" /></a></td>
<td><a href="http://www.dpbolvw.net/click-3414080-10541907" target="_top"><img src="http://www.ftjcfx.com/image-3414080-10541907" border="0" alt="image: PhotoPlus X2 from Serif" width="234" height="60" /></a></td>
</tr>
</tbody>
</table>
<div class="addtoany_share_save_container"><ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Autoplay%20Media%20Studio%20Examples%20%26amp%3B%20Scripts&amp;siteurl=http%3A%2F%2Famstudio.azman.info%2F&amp;linkname=Combo%20Box%20to%20Image&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F01%2Fcombo-box-to-image%2F"><img src="http://amstudio.azman.info/wp-content/plugins/add-to-any-ori/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://amstudio.azman.info/2009/03/01/combo-box-to-image/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Combo Box to Text</title>
		<link>http://amstudio.azman.info/2009/03/01/combo-box-to-text/</link>
		<comments>http://amstudio.azman.info/2009/03/01/combo-box-to-text/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 09:37:16 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[AMS Samples]]></category>
		<category><![CDATA[Autoplay Media Studio Samples]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[Paragraph]]></category>
		<category><![CDATA[TextFile]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=49</guid>
		<description><![CDATA[This example shows how to &#62; Get Text from a selected Combo Item and fill Label. &#62; Select an Item from Combo, read a TextFile and fill a Paragraph with it. Right-click to Download APZ file. Feel free to comment.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tkqlhce.com/mn97y1A719PTURUQYQPRQWTTWSV" target="_blank" onmouseover="window.status='http://learning.graphics.com/';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.awltovhc.com/hc103bosgmk59A7A6E6576C99C8B" alt="Graphics.com/Learning" border="0"/></a></p>
<p>This example shows how to</p>
<p>&gt; Get Text from a selected Combo Item and fill Label.</p>
<p>&gt; Select an Item from Combo, read a TextFile and fill a Paragraph with it.</p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/6.jpg"><img class="size-medium wp-image-50" title="Combo to Text" src="http://amstudio.azman.info/wp-content/uploads/2009/03/6-300x215.jpg" alt="Screen Shot : Combo to Text" width="300" height="215" /></a><p class="wp-caption-text">Screen Shot : Combo to Text</p></div>
<p>Right-click to <span style="text-decoration: underline;"><strong><a title="Combo to Text" href="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2combo2text.apz">Download APZ file</a></strong></span>.</p>
<p>Feel free to comment.
</p>
</p>
<table border="0">
<tbody>
<tr>
<td><a href="http://www.tkqlhce.com/click-3414080-10541904" target="_top"><img src="http://www.tqlkg.com/image-3414080-10541904" border="0" alt="image: DrawPlus X2 from Serif" width="234" height="60" /></a></td>
<td><a href="http://www.dpbolvw.net/click-3414080-10541907" target="_top"><img src="http://www.ftjcfx.com/image-3414080-10541907" border="0" alt="image: PhotoPlus X2 from Serif" width="234" height="60" /></a></td>
</tr>
</tbody>
</table>
<div class="addtoany_share_save_container"><ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Autoplay%20Media%20Studio%20Examples%20%26amp%3B%20Scripts&amp;siteurl=http%3A%2F%2Famstudio.azman.info%2F&amp;linkname=Combo%20Box%20to%20Text&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F01%2Fcombo-box-to-text%2F"><img src="http://amstudio.azman.info/wp-content/plugins/add-to-any-ori/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://amstudio.azman.info/2009/03/01/combo-box-to-text/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

