<?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; Shell</title>
	<atom:link href="http://amstudio.azman.info/category/shell/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>Basic Image Edit Console</title>
		<link>http://amstudio.azman.info/2009/06/14/basic-image-edit-console/</link>
		<comments>http://amstudio.azman.info/2009/06/14/basic-image-edit-console/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 10:26:11 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[File Action]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[Paragraph Action]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[String Action]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[Basic Image Editing Console]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=826</guid>
		<description><![CDATA[Hi, In our prior project, we have refined the Search Image Utility.  After an image is found and we plan to use, we may need to edit it bit. Some reasons for editing images may include to edit out irrelevant objects or persons in the image, to reduce the size of an image or reposition [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>In our prior project, we have refined the Search Image Utility.  After an image is found and we plan to use, we may need to edit it bit. Some reasons for editing images may include to edit out irrelevant objects or persons in the image, to reduce the size of an image or reposition the object of interest. Thanks to <strong>SSIDE and WORM</strong> for contributing the DLLs which made the editing possible via AMS.</p>
<p>This AMS example shows how a selected Image can be <strong>RESIZED, REPOSITIONED, ROTATED and CROPPED </strong>before any final usage. This <strong>Basic Image Edit Console</strong> will be embedded inside the latest <strong>Search Image Utility</strong> in the next article. Once thats done, we will finally insert this utility into our Mini Email Address Book.</p>
<div id="attachment_829" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/RedGuideOn.jpg"><img class="size-medium wp-image-829" title="RedGuideOn" src="http://amstudio.azman.info/wp-content/uploads/2009/06/RedGuideOn-300x270.jpg" alt="Original Image before Editing" width="300" height="270" /></a><p class="wp-caption-text">Original Image before Editing</p></div>
<p>You may noticed that once you selected an Image, it will appear with ASPECT RATIO maintained eventhough it might be smaller than the original. NOTICED <strong>THE RED RECTANGULAR GUIDE</strong>? That guide is used to <strong>standardize all image sizes</strong> to be used in the Mini Email Address Book. The Image will be cropped according to the size of the Red Guide. You can get rid of this by the <strong>Click On &amp; Click Off Button</strong> as shown in the screen shot below.</p>
<div id="attachment_828" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/RedGuideOFF.jpg"><img class="size-medium wp-image-828" title="RedGuideOFF" src="http://amstudio.azman.info/wp-content/uploads/2009/06/RedGuideOFF-300x271.jpg" alt="Red Guide is Off" width="300" height="271" /></a><p class="wp-caption-text">Red Guide is Off</p></div>
<p>Without the Red Guide, you can Drag the Left Mouse Button and select your own area to Crop. The area to be cropped will appear in a Yellow Guide. Then click the Crop &amp; Save Button. The Cropped Image will be Saved in a Folder &#8220;EditedImage&#8221; on the DeskTop.</p>
<div id="attachment_830" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMouseDrag.jpg"><img class="size-medium wp-image-830" title="imageMouseDrag" src="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMouseDrag-300x272.jpg" alt="Drag Left Mouse Button" width="300" height="272" /></a><p class="wp-caption-text">Drag Left Mouse Button</p></div>
<p>Lets say I keep the Red Guide in the Screen Shot below.  I can move and position the Image using Position Buttons. You can choose the move distance by Pixels by selecting the Position Combo from 1 to 10 pixels.</p>
<div id="attachment_831" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMovedLeft.jpg"><img class="size-medium wp-image-831" title="imageMovedLeft" src="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMovedLeft-300x272.jpg" alt="Image Moved to the LEFT" width="300" height="272" /></a><p class="wp-caption-text">Image Moved to the LEFT</p></div>
<p>From the Screen Shot below, you can see that I have Resized and Moved the Image. You can Resize the Image by using the Resize Buttons + ( for larger ) and &#8211; ( for smaller ). Choose the Resize Percentage from the Percent ComboBox.</p>
<div id="attachment_832" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMovedResized.jpg"><img class="size-medium wp-image-832" title="imageMovedResized" src="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMovedResized-300x273.jpg" alt="Image is Moved and Resized" width="300" height="273" /></a><p class="wp-caption-text">Image is Moved and Resized</p></div>
<p>The Screen Shot below showed the Cropped Image based on the Red Guide.</p>
<div id="attachment_833" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/imageCropped.jpg"><img class="size-medium wp-image-833" title="imageCropped" src="http://amstudio.azman.info/wp-content/uploads/2009/06/imageCropped-300x273.jpg" alt="Cropped Image based on the Red Guide" width="300" height="273" /></a><p class="wp-caption-text">Cropped Image based on the Red Guide</p></div>
<p>The Screen Shot below shows an Image which is cropped based on Mouse Dragged area</p>
<div id="attachment_834" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMouseDragCropped.jpg"><img class="size-medium wp-image-834" title="imageMouseDragCropped" src="http://amstudio.azman.info/wp-content/uploads/2009/06/imageMouseDragCropped-300x271.jpg" alt="Image Cropped based on Mouse Drag Area" width="300" height="271" /></a><p class="wp-caption-text">Image Cropped based on Mouse Drag Area</p></div>
<p>So far so good. You can also ROTATE an Image when it is necessary by using the &lt;&lt;LEFT or RIGHT&gt;&gt; buttons.</p>
<p>And if you plan to use this Basic Image Editing Console for your projects, please make sure you put Error Check Functions. AND&#8230;.. please leave a comment in this blog.</p>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/shell/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</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=Basic%20Image%20Edit%20Console&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F06%2F14%2Fbasic-image-edit-console%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/06/14/basic-image-edit-console/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ListBox &amp; DB Interactions</title>
		<link>http://amstudio.azman.info/2009/05/23/listbox-db-interactions/</link>
		<comments>http://amstudio.azman.info/2009/05/23/listbox-db-interactions/#comments</comments>
		<pubDate>Fri, 22 May 2009 17:29:31 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Dialog]]></category>
		<category><![CDATA[DialogEx]]></category>
		<category><![CDATA[File Action]]></category>
		<category><![CDATA[Input]]></category>
		<category><![CDATA[LUA]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[Radio Button]]></category>
		<category><![CDATA[SQLite Plugin]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[String Action]]></category>
		<category><![CDATA[Tables]]></category>
		<category><![CDATA[SQLite Database]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=719</guid>
		<description><![CDATA[Hi, Been some time. Was busy setting-up a new office in Kuala Lumpur. In between activities, I spared some time in transforming our previous project. Move over Text Files, here comes SQLite database. The SQLite DB file is located in MyDocs (XP/P8/ME) or Documents (Vista) hosted in the folder named as MyResourceFolder. The folder and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dpbolvw.net/pm118y1A719PTURUQYQPRQUYTZQW" target="_blank" onmouseover="window.status='http://eset.com';return true;" onmouseout="window.status=' ';return true;"><br />
<img src="http://www.awltovhc.com/jr75tkocig156362A21326A5B28" alt="ESET Smart Security - Save 25%" border="0"/></a><br />
Hi,</p>
<p>Been some time. Was busy setting-up a new office in Kuala Lumpur. In between activities, I spared some time in transforming our previous project. Move over Text Files, here comes SQLite database. </p>
<p>The SQLite DB file is located in MyDocs (XP/P8/ME) or Documents (Vista) hosted in the folder named as MyResourceFolder. The folder and DB file will be created automatically when launching this App. </p>
<div id="attachment_738" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress-300x274.jpg" alt="Mini Address Book with SQLite DB" title="miniaddress" width="300" height="274" class="size-medium wp-image-738" /></a><p class="wp-caption-text">Mini Address Book with SQLite DB</p></div>
<p>Some minor changes were made to the interface. I&#8217;ve also added more details but the functions remain the same:<br />
1. Add New Entry<br />
2. Delete Entries<br />
3. Edit Entries<br />
4. Search Entries<br />
5. Group Entries<br />
6. Rename Groups<br />
7. Delete Groups<br />
8. Share Items between Groups<br />
9. Make a New Group from Search Results<br />
10. Validate All Entries</p>
<div id="attachment_723" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress1.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress1-300x233.jpg" alt="Mini Address Book with SQLite" title="miniaddress1" width="300" height="233" class="size-medium wp-image-723" /></a><p class="wp-caption-text">Mini Address Book with SQLite</p></div>
<p>Since this Project uses SQLite, we have removed previous concerns. We can now<br />
1. Update Entries shared by several Groups all at once<br />
2. Search every row in the DB directly without any help from ListBox.</p>
<div id="attachment_724" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress2.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress2-300x264.jpg" alt="Mini Address Book with SQLite" title="miniaddress2" width="300" height="264" class="size-medium wp-image-724" /></a><p class="wp-caption-text">Mini Address Book with SQLite</p></div>
<p>For each item ( every DB row ), you might only see 4 data on the interface. In actual fact, this project is prepared for more than 10 data per item. This includes the usual suspects like Address, Zip Code, Street Name, Country, Birthday, Description, Notation and etc. I encourage readers to try embed more entries at the interface. This is the way to learn. </p>
<div id="attachment_725" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress3.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/miniaddress3-300x260.jpg" alt="Mini Address Book with SQLite" title="miniaddress3" width="300" height="260" class="size-medium wp-image-725" /></a><p class="wp-caption-text">Mini Address Book with SQLite</p></div>
<p>If you add Dermot&#8217;s Pop3 Plugin, you&#8217;re making an almost full-featured Email App. To learn more about SQlite DB on AMS, please view TJ Tigger&#8217;s Video.</p>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/category/shell/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</p>
<p><SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-h4m3"> </SCRIPT></p>
<p>In the next topic on Mini Address Book, I plan to add 2 more features:<br />
1. Photo for each Name<br />
2. Calendaring.</p>
<p>We&#8217;ll see how it goes. If there is a request, I will make create another example just for the Search Function. Please use the comment in the Blog.</p>
<p>And please, leave your comments in this blog.</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=ListBox%20%26%23038%3B%20DB%20Interactions&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F05%2F23%2Flistbox-db-interactions%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/05/23/listbox-db-interactions/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

