<?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; Grid</title>
	<atom:link href="http://amstudio.azman.info/category/grid/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>What&#8217;s New in AMS 8</title>
		<link>http://amstudio.azman.info/2011/06/17/whats-new-in-ams-8/</link>
		<comments>http://amstudio.azman.info/2011/06/17/whats-new-in-ams-8/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 15:47:44 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Application Action]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[Check Box]]></category>
		<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Dialog]]></category>
		<category><![CDATA[DialogEx]]></category>
		<category><![CDATA[File Action]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Inherit]]></category>
		<category><![CDATA[Input]]></category>
		<category><![CDATA[LUA]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[Radio Button]]></category>
		<category><![CDATA[SQLite Plugin]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SlideShow]]></category>
		<category><![CDATA[Status Dialog]]></category>
		<category><![CDATA[String Action]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=894</guid>
		<description><![CDATA[Hi, If you want to use all the examples from AMS 5 to AMS 7.5 in your AMS 8 projects, please take note below. AMS 8 is using an updated version of LUA 5.1. One of the most important change is the TABLE ITERATION. This is the old code used in AMS 5 to AMS [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>If you want to use all the examples from AMS 5 to AMS 7.5 in your AMS 8 projects, please take note below.</p>
<p>AMS 8 is using an updated version of LUA 5.1. One of the most important change is the TABLE ITERATION.</p>
<p>This is the old code used in AMS 5 to AMS 7.5 for TABLE ITERATION ( loops )<br />
<code><br />
-----------------------------------------------<br />
mytable = {"One","Two","Three"};</p>
<p>for k, v in mytable do<br />
   Dialog.Message("Table Item", k .. "=" .. v);<br />
end<br />
-----------------------------------------------<br />
</code></p>
<p>If my examples are using LOOPS, you need to change like below:</p>
<p><code><br />
----------------------------------------------<br />
mytable = {"One","Two","Three"};</p>
<p>for k, v in <strong><span style="color: #ff0000;">pairs</span></strong>(mytable) do<br />
    Dialog.Message("Table Item", k .. "=" .. v);<br />
end<br />
----------------------------------------------<br />
</code></p>
<p>See the word &#8220;<span style="color: #ff0000;">pairs</span>&#8221; in red and the bracket, above?</p>
<p>Just add a BRACKET around your TABLE NAME and add the word &#8220;<span style="color: #ff0000;">pairs</span>&#8220;.</p>
<p>Then all my examples using loops will work.</p>
<p>lol &#8230;.. 99.9 % of my examples are using LOOPS.<br />
You&#8217;ll definitely have to change the codes.</p>
<p>Hope this helps.</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=What%26%238217%3Bs%20New%20in%20AMS%208&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2011%2F06%2F17%2Fwhats-new-in-ams-8%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/2011/06/17/whats-new-in-ams-8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Launch DialogEx from GRID</title>
		<link>http://amstudio.azman.info/2009/04/10/launch-dialogex-from-grid/</link>
		<comments>http://amstudio.azman.info/2009/04/10/launch-dialogex-from-grid/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 13:05:20 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[DialogEx]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[Launch DialogEx From GRID]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=525</guid>
		<description><![CDATA[Hi, DialogEx and Grid are 2 powerful objects in AMS. By combining both together, we can create apps with lots of attractive features for our users. This minimal sample shows the basic concept straight away. It shows how to launch a DialogEx from GRID. It is a very very trimmed down example from a previous [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anrdoezrs.net/9p79r09608OSTQTPXPOQPTVRPTW" target="_blank" onmouseover="window.status='http://www.iclipart.com/';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.lduhtrp.net/bk102o26v0zKOPMPLTLKMLPRNLPS" alt="iCLIPART.com" border="0"/></a><br />
Hi,</p>
<p>DialogEx and Grid are 2 powerful objects in AMS. By combining both together, we can create apps with lots of attractive features for our users.</p>
<p>This minimal sample shows the basic concept straight away. It shows how to launch a DialogEx from GRID. It is a very very trimmed down example from a previous one. To show the concept easier, this sample contains no error checking, no file exist checking, no populate data from ComboBox selection, no automation, no external data imports.</p>
<p>Sample Features:<br />
&gt; Uses only a Table of Data to populate the Grid.<br />
&gt; Click a cell in the Text Name Column, a prompt will ask whether you want to Edit the Text File in Notepad.<br />
&gt; Click a cell in the Dialog Column, a prompt will ask whether you want to view Full Info in a DialogEx.<br />
&gt; DialogEx will contain matching Image &amp; Text.<br />
&gt; Image shown in the DialogEx is according Aspect Ratio. No matter how large the original is, it will not be distorted when shown in the smaller DialogEx window.<br />
&gt; A Button to Clear the GRID and another button to Reload.</p>
<div id="attachment_526" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-launchdialogex3.jpg"><img class="size-medium wp-image-526" title="grid-launchdialogex3" src="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-launchdialogex3-300x214.jpg" alt="Edit Text File Option" width="300" height="214" /></a><p class="wp-caption-text">Edit Text File Option</p></div>
<div id="attachment_527" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-launchdialogex1.jpg"><img class="size-medium wp-image-527" title="grid-launchdialogex1" src="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-launchdialogex1-300x214.jpg" alt="View Info Prompt" width="300" height="214" /></a><p class="wp-caption-text">View Info Prompt</p></div>
<div id="attachment_528" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-launchdialogex2.jpg"><img class="size-medium wp-image-528" title="grid-launchdialogex2" src="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-launchdialogex2-300x148.jpg" alt="DialogEx Launched" width="300" height="148" /></a><p class="wp-caption-text">DialogEx Launched</p></div>
<p>Remember, DialogEx can contain objects such as Video, Audio, Calendar, Input, Richtext, Buttons, Paragraphs and many more. Its upto to your ingenuity on how to make apps with rich features.</p>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/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.</p>
<p><a href="http://www.dpbolvw.net/4q65mu2-u1HLMJMIQIHJIONKOOQ" target="_blank" onmouseover="window.status='http://www.daz3d.com';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.lduhtrp.net/hi117uuymsqBFGDGCKCBDCIHEIIK" alt="Free Tools and Content for 3D Artists" border="0"/></a></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=Launch%20DialogEx%20from%20GRID&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F04%2F10%2Flaunch-dialogex-from-grid%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/04/10/launch-dialogex-from-grid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sort GRID items</title>
		<link>http://amstudio.azman.info/2009/04/03/sort-grid-items/</link>
		<comments>http://amstudio.azman.info/2009/04/03/sort-grid-items/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:59:05 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Grid]]></category>
		<category><![CDATA[Radio Button]]></category>
		<category><![CDATA[Radio Buttons]]></category>
		<category><![CDATA[Sort GRID items]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=456</guid>
		<description><![CDATA[Hi, We have seen several ways to load items into GRID. We have also seen how to Launch Files from active GRID CELLS. There are times we need to allow sorting. So here&#8217;s a bare bone sample on how to SORT GRID ITEMS. NOTE: In this example I gave my users 2 options, either TO [...]]]></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 several ways to load items into GRID. We have also seen how to Launch Files from active GRID CELLS. There are times we need to allow sorting. So here&#8217;s a bare bone sample on how to SORT GRID ITEMS.</p>
<p>NOTE: In this example I gave my users 2 options, either TO SORT or NOT TO SORT. I achieve this by using RADIO BUTTONS, as shown in the Screen Shot below. </p>
<div id="attachment_460" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-sort.gif"><img src="http://amstudio.azman.info/wp-content/uploads/2009/04/grid-sort-300x214.gif" alt="Screen Shot : Enable/Disable Sort via Radio Buttons" title="grid-sort" width="300" height="214" class="size-medium wp-image-460" /></a><p class="wp-caption-text">Screen Shot : Enable/Disable Sort via Radio Buttons</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/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 in your native language. I really appreciate it.</p>
<p>More GRID examples coming. </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=Sort%20GRID%20items&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F04%2F03%2Fsort-grid-items%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/04/03/sort-grid-items/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Launch Files From Grid</title>
		<link>http://amstudio.azman.info/2009/03/31/launch-files-from-grid/</link>
		<comments>http://amstudio.azman.info/2009/03/31/launch-files-from-grid/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 02:21:10 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Grid]]></category>
		<category><![CDATA[Launch File From Grid]]></category>
		<category><![CDATA[Launch Files From Grid]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=368</guid>
		<description><![CDATA[Hi, So far, we have seen how to populate GRID with data. Let&#8217;s see how to launch files from this skinny example. In fact, if you can understand this well, you can do the following from any Cell Grid: 1. Start Applications 2. Run Actions &#038; Command lines 3. Open Interactive Dialogs (containing other objects) [...]]]></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>So far, we have seen how to populate GRID with data. Let&#8217;s see how to launch files from this skinny example. </p>
<p>In fact, if you can understand this well, you can do the following from any Cell Grid:<br />
1. Start Applications<br />
2. Run Actions &#038; Command lines<br />
3. Open Interactive Dialogs (containing other objects)<br />
4. Launch Files<br />
5. etc.</p>
<p><strong>Note:</strong><br />
I prefer to get a prompt before launching anything. So I place a dialog prompt upon clicking the active cell, as shown in the Screen Shot below. I think, most of us users prefer it that way too.</p>
<div id="attachment_448" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/launchfilefromgrid.gif"><img src="http://amstudio.azman.info/wp-content/uploads/2009/03/launchfilefromgrid-300x215.gif" alt="Screen Shot : Launch File From Grid" title="launchfilefromgrid" width="300" height="215" class="size-medium wp-image-448" /></a><p class="wp-caption-text">Screen Shot : Launch File From Grid</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</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=Launch%20Files%20From%20Grid&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F31%2Flaunch-files-from-grid%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/31/launch-files-from-grid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQLite DB to Grid</title>
		<link>http://amstudio.azman.info/2009/03/22/sqlite-db-to-grid/</link>
		<comments>http://amstudio.azman.info/2009/03/22/sqlite-db-to-grid/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 16:34:01 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Grid]]></category>
		<category><![CDATA[SQLite Plugin]]></category>
		<category><![CDATA[SQLite DB to Grid]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=239</guid>
		<description><![CDATA[Hi, SQLite DB is a good option if you plan to have a long list of data in your apps. Its quicker, its more efficient and works faster than text files or XML. When you combine SQLite with Grid, you&#8217;ve got yourself an app with tremendous potentials. The example I&#8217;ve added today, shows how to [...]]]></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>SQLite DB is a good option if you plan to have a long list of data in your apps. Its quicker, its more efficient and works faster than text files or XML.</p>
<p>When you combine SQLite with Grid, you&#8217;ve got yourself an app with tremendous potentials.</p>
<p>The example I&#8217;ve added today, shows how to combine these 2 powerful AMS elements, albeit in a very simple way. You can develop further from here. Remember to put ERROR CHECKING, if you plan to distribute apps.</p>
<div id="attachment_240" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/db2grid.jpg"><img class="size-medium wp-image-240" title="db2grid" src="http://amstudio.azman.info/wp-content/uploads/2009/03/db2grid-300x216.jpg" alt="Pull Data from SQLite DB to Grid" width="300" height="216" /></a><p class="wp-caption-text">Pull Data from SQLite DB to Grid</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/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, if you like this sample.</p>
<p><a href="http://www.kqzyfj.com/5k117gv30v2IMNKNJRJIKJMJKSMN" target="_blank" onmouseover="window.status='http://www.ebooks.com';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.tqlkg.com/j377ltxlrpAEFCFBJBACBEBCKEF" alt="10% off New York Times Best Sellers at eBooks.com" border="0"/></a></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=SQLite%20DB%20to%20Grid&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F22%2Fsqlite-db-to-grid%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/22/sqlite-db-to-grid/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>List Files From Folders to Grid</title>
		<link>http://amstudio.azman.info/2009/03/20/list-files-from-folders-to-grid/</link>
		<comments>http://amstudio.azman.info/2009/03/20/list-files-from-folders-to-grid/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 15:00:08 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[File Action]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[String Action]]></category>
		<category><![CDATA[List Files to Grid]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=232</guid>
		<description><![CDATA[Hi, Was quite busy a few days back. Had to do some presentations for clients. Now is the lull time. Cooling away with AMS. Today I&#8217;m adding another example concerning GRID. This one is much easier than the previous example. Really. No kidding. If you check under the hood, you&#8217;ll definitely agree with me. What [...]]]></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>Was quite busy a few days back. Had to do some presentations for clients. Now is the lull time. Cooling away with AMS.</p>
<p>Today I&#8217;m adding another example concerning GRID. This one is much easier than the previous example.  Really. No kidding. If you check under the hood, you&#8217;ll definitely agree with me.</p>
<p><strong>What does it do?</strong> When you click the button, a Folder Dialog will open. Then you select a Folder. It will list all the files hosted in the Folder into the GRID. It will list the file names, file path, when it was created, last access, last modified. If the selected Folder is empty, it will give you a friendly message and will not list anything.</p>
<div id="attachment_234" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/folderfiles2grid.jpg"><img class="size-medium wp-image-234" title="folderfiles2grid" src="http://amstudio.azman.info/wp-content/uploads/2009/03/folderfiles2grid-300x215.jpg" alt="Screen Shot : List Files From Folder into Grid" width="300" height="215" /></a><p class="wp-caption-text">Screen Shot : List Files From Folder into Grid</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</p>
<p>You can extend this sample by making one of  the Column active ( click and open the file in its native format ). You can do this by putting your scripts in the Grid OnSelectionChange. The <a title="Combo To Grid" href="http://amstudio.azman.info/2009/03/10/combo-to-grid/"><span style="text-decoration: underline;"><strong>Combo to Grid example</strong></span></a> shows exactly how to do this. Check it out and make the necessary changes.</p>
<table style="text-align: center;" border="0">
<tbody>
<tr>
<td><a href="http://www.tkqlhce.com/click-3414080-10541906" target="_top"><img src="http://www.tqlkg.com/image-3414080-10541906" border="0" alt="image: PagePlus X3 from Serif" width="234" height="60" /></a></td>
<td style="text-align: center;"><a href="http://www.kqzyfj.com/click-3414080-10541910" target="_top"><img src="http://www.lduhtrp.net/image-3414080-10541910" border="0" alt="image: WebPlus 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=List%20Files%20From%20Folders%20to%20Grid&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F20%2Flist-files-from-folders-to-grid%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/20/list-files-from-folders-to-grid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load Text File to Grid</title>
		<link>http://amstudio.azman.info/2009/03/17/load-text-file-to-grid/</link>
		<comments>http://amstudio.azman.info/2009/03/17/load-text-file-to-grid/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 16:47:18 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Grid]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[Text File to Grid]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=227</guid>
		<description><![CDATA[Hi, I thought of putting more Grid examples in here. So today, let&#8217;s see how to Load a Text File to Grid. The Text File contains a few lines. Each line contains data separated by the pipe symbol &#8220;&#124;&#8221;. I prefer this symbol than others because I never use it for anything else.This kind of [...]]]></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>I thought of putting more Grid examples in here.</p>
<p>So today, let&#8217;s see how to Load a Text File to Grid. The Text File contains a few lines. Each line contains data separated by the pipe symbol &#8220;|&#8221;. I prefer this symbol than others because I never use it for anything else.This kind of files are called CSVs, <strong>c</strong>omma <strong>s</strong>eparated <strong>v</strong>alue files.</p>
<p>NOTE: For the sake of clarity, most examples in this blog have excluded error checking functions .  If you plan to develop apps, you need to include error checks to control them whenever it happened.</p>
<div id="attachment_228" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/loadtextfile2grid.jpg"><img class="size-medium wp-image-228" title="loadtextfile2grid" src="http://amstudio.azman.info/wp-content/uploads/2009/03/loadtextfile2grid-300x196.jpg" alt="Screen Shot : Load Text File to Grid" width="300" height="196" /></a><p class="wp-caption-text">Screen Shot : Load Text File to Grid</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</p>
<p>Please comment if you download this file.</p>
<p>I have another GRID example to be posted soon.</p>
<p><a href="http://www.kqzyfj.com/5k117gv30v2IMNKNJRJIKJMJKSMN" target="_blank" onmouseover="window.status='http://www.ebooks.com';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.tqlkg.com/j377ltxlrpAEFCFBJBACBEBCKEF" alt="10% off New York Times Best Sellers at eBooks.com" border="0"/></a></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%20Text%20File%20to%20Grid&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F17%2Fload-text-file-to-grid%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/17/load-text-file-to-grid/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Load Grid from XML File</title>
		<link>http://amstudio.azman.info/2009/03/11/load-grid-from-xml-file/</link>
		<comments>http://amstudio.azman.info/2009/03/11/load-grid-from-xml-file/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 09:08:54 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Grid]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=210</guid>
		<description><![CDATA[Hi, Probably the last example seems to be a bit complex.  Its actually not because it is the combination of all the simple samples here with a Grid added to it. I have a suggestion, which I used a lot when learning from samples given by Worm, Tigger, Adam and Intrigue.  Grab every sample. Break [...]]]></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>Probably the last example seems to be a bit complex.  Its actually not because it is the combination of all the simple samples here with a Grid added to it.</p>
<p>I have a suggestion, which I used a lot when learning from samples given by Worm, Tigger, Adam and Intrigue.  Grab every sample. Break it apart. Mess around with their objects and scripts. And then see what happens and how far we can go.</p>
<p>But there are times when we really need the help to kick-start. At least in my case, I do need such help. I need bare bone samples, just to understand how objects interact.</p>
<p>So here is a bare-bone, which shows how to populate Grid from an XML text file. Straight forward, no bells and no whistles.</p>
<div id="attachment_211" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/xml2grid.jpg"><img class="size-medium wp-image-211" title="xml2grid" src="http://amstudio.azman.info/wp-content/uploads/2009/03/xml2grid-300x216.jpg" alt="Screen Shot : Load Grid from XML" width="300" height="216" /></a><p class="wp-caption-text">Screen Shot : Load Grid from XML</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</p>
<p>See you around and I appreciate all your comments.</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%20Grid%20from%20XML%20File&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F11%2Fload-grid-from-xml-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/11/load-grid-from-xml-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Combo to Grid</title>
		<link>http://amstudio.azman.info/2009/03/10/combo-to-grid/</link>
		<comments>http://amstudio.azman.info/2009/03/10/combo-to-grid/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 17:19:18 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Dialog]]></category>
		<category><![CDATA[DialogEx]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[Image]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=199</guid>
		<description><![CDATA[Hi, So far, we have explored 19 possible uses of Combo with other objects.  Lets go further and pair-up Combo with a Grid object. We will combine previous examples together into one APZ file and add Grid to it. General features of this example: &#62; Select a Category from a COMBO &#62; Populate the GRID  [...]]]></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>So far, we have explored 19 possible uses of Combo with other objects.  Lets go further and pair-up <strong>Combo with a Grid object</strong>. We will combine previous examples together into one APZ file and add Grid to it.</p>
<p>General features of this example:</p>
<p>&gt; Select a Category from a COMBO</p>
<p>&gt; Populate the GRID  with items related for that category. The item info comes from tables and file search.</p>
<p>&gt; Click an ITEM on the GRID</p>
<p>&gt; A Pop-Up Message will ask you whether you want to view the Full Info or not.</p>
<p>&gt; If you chose OK, a DialogEx will pop-up showing Image &amp; Text.</p>
<p>&gt; Click an ITEM from another column on the GRID</p>
<p>&gt; A Pop-up Message will ask you whether you want to edit the Text File or not.</p>
<p>&gt; If you chose OK, it will open the Text File for editing in Notepad.</p>
<p>Hope this example is useful.</p>
<div id="attachment_201" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2grid-1.jpg"><img class="size-medium wp-image-201" title="combo2grid-1" src="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2grid-1-300x216.jpg" alt="Screen Shot : Combo to Grid 1" width="300" height="216" /></a><p class="wp-caption-text">Screen Shot 1 : Combo to Grid </p></div>
<div id="attachment_202" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2grid-2.jpg"><img class="size-medium wp-image-202" title="combo2grid-2" src="http://amstudio.azman.info/wp-content/uploads/2009/03/combo2grid-2-300x253.jpg" alt="Screen Shot 2 : Combo to Grid" width="300" height="253" /></a><p class="wp-caption-text">Screen Shot 2 : Combo to Grid</p></div>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/grid/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=Combo%20to%20Grid&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F03%2F10%2Fcombo-to-grid%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/10/combo-to-grid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

