<?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; Search Utility</title>
	<atom:link href="http://amstudio.azman.info/tag/search-utility/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>Search File Utility With Status Dialog</title>
		<link>http://amstudio.azman.info/2009/05/27/search-file-utility-with-status-dialog/</link>
		<comments>http://amstudio.azman.info/2009/05/27/search-file-utility-with-status-dialog/#comments</comments>
		<pubDate>Wed, 27 May 2009 11:51:22 +0000</pubDate>
		<dc:creator>Azmanar</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[Combo Box]]></category>
		<category><![CDATA[Dialog]]></category>
		<category><![CDATA[File Action]]></category>
		<category><![CDATA[Label Action]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[Radio Button]]></category>
		<category><![CDATA[Status Dialog]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[Search Utility]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=762</guid>
		<description><![CDATA[Hi, The previous example on Search Function exposes the basic capability only. It shows basic SEARCH concepts for Newbies. But I dare not use this very raw function even on my PC. More features are needed before it can be distributed. In this example, we refine the AMS Search Function further. This time, we can [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>The previous example on Search Function exposes the basic capability only. It shows basic SEARCH concepts for Newbies. <strong>But I dare not use this very raw function even on my PC.</strong> More features are needed before it can be distributed.</p>
<p>In this example, we refine the AMS Search Function further. This time, we can decide on what to do with the search results.<br />
- We can save the results and group them.<br />
- We can weed out irrelevant items.<br />
- We can resave the modified list.<br />
- We can reload previous search results or<br />
- We dont have to keep the results at all.</p>
<p>With AMS, we can develop APPs according to our own delight and satisfaction. </p>
<div id="attachment_765" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/searchutility.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/searchutility-300x274.jpg" alt="Improved Search Utility" title="searchutility" width="300" height="274" class="size-medium wp-image-765" /></a><p class="wp-caption-text">Improved Search Utility</p></div>
<p>For this purpose, our Project will now create a HOST FOLDER on the desktop automatically. It will save the search results there according to groups. Each group has it&#8217;s own text file. You can change the location of the FOLDER.</p>
<div id="attachment_766" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/searchutility2.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/searchutility2-300x275.jpg" alt="Improved Search Utility" title="searchutility2" width="300" height="275" class="size-medium wp-image-766" /></a><p class="wp-caption-text">Improved Search Utility</p></div>
<p>If the search resulted in hundreds of files, the LISTING of RESULTS in the ListBox may take some time. Our users may think that the APP has HANGED ( I dont know the right word ). This is not good for business. </p>
<div id="attachment_767" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/05/searchutility3.jpg"><img src="http://amstudio.azman.info/wp-content/uploads/2009/05/searchutility3-300x275.jpg" alt="Improved Search Utility" title="searchutility3" width="300" height="275" class="size-medium wp-image-767" /></a><p class="wp-caption-text">Improved Search Utility</p></div><br />
So, I&#8217;ve added <strong>STATUS DIALOG when SAVING FILES and LISTING FILES</strong>. When users see STATUS DIALOGS, they will be comfortable to know that the APP is doing something. For the FILE SEARCH, I prefer to use the File.Find built-in Callback function instead of my own FileFound function. Very efficient.</p>
<p>Lastly, it is your responsibility to add ERROR CHECKING for each AMS ACTIONS. </p>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/tag/search-utility/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.
<p>PLEASE LEAVE A COMMENT&#8230;..</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=Search%20File%20Utility%20With%20Status%20Dialog&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F05%2F27%2Fsearch-file-utility-with-status-dialog%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/27/search-file-utility-with-status-dialog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ListBox &#8211; TextFile Interactions : Search Items</title>
		<link>http://amstudio.azman.info/2009/04/23/listbox-textfile-interactions-search-items/</link>
		<comments>http://amstudio.azman.info/2009/04/23/listbox-textfile-interactions-search-items/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 19:32:53 +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[Label Action]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[Radio Button]]></category>
		<category><![CDATA[TextFile Action]]></category>
		<category><![CDATA[Search Utility]]></category>

		<guid isPermaLink="false">http://amstudio.azman.info/?p=666</guid>
		<description><![CDATA[Hi, Today, I&#8217;ve added a Search function to our Mini Email Address Book. Thanks to Reteset who helped me in correcting my codes. As you can see, I did a bit of cleaning up on the interface and add more buttons, including the Search Utility in a DialogEx. You will also noticed that I used [...]]]></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>Today, I&#8217;ve added a Search function to our Mini Email Address Book. Thanks to <a title="Reteset's Plugins" href="http://www.amsplugins.com" target="_blank">Reteset</a> who helped me in correcting my codes.</p>
<div id="attachment_667" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/04/emailaddressbook1.jpg"><img class="size-medium wp-image-667" title="emailaddressbook1" src="http://amstudio.azman.info/wp-content/uploads/2009/04/emailaddressbook1-300x274.jpg" alt="A Clean-up for Mini Email Address Book" width="300" height="274" /></a><p class="wp-caption-text">A Clean-up for Mini Email Address Book</p></div>
<p>As you can see, I did a bit of cleaning up on the interface and add more buttons, including the Search Utility in a DialogEx. You will also noticed that I used Labels to show Number of Items in ListBoxes. It is auto-updated whenever any change occurs in the ListBox.</p>
<p>The Search Utility searches items in a List Box. The items belong to a Group selected by a ComboBox. The Search Results are displayed in another ListBox. By using Radio Buttons, you can choose whether to accumulate the results or empty it for new results only. By using a ComboBox you can choose to Search by Text ( Name ) or by Data ( Email ). Check Screen-Shot below.</p>
<div id="attachment_668" class="wp-caption aligncenter" style="width: 310px"><a href="http://amstudio.azman.info/wp-content/uploads/2009/04/emailaddressbook2.jpg"><img class="size-medium wp-image-668" title="emailaddressbook2" src="http://amstudio.azman.info/wp-content/uploads/2009/04/emailaddressbook2-300x212.jpg" alt="Search Utility in a DialogEx" width="300" height="212" /></a><p class="wp-caption-text">Search Utility in a DialogEx</p></div>
<p>I&#8217;ve also optimized the scripts by transforming repetitive actions into functions. In fact, there are more that can be optimized but I leave that to you. I&#8217;ve decided to not include data verification at this time.</p>
<p>Please <a href="http://amstudio.azman.info/wp-login.php?redirect_to=/tag/search-utility/feed/">Login</a> or <a href="http://amstudio.azman.info/wp-login.php?action=register">Register</a> to download this file.</p>
<p>Upto this stage, we still use Text Files with each line containing only 2 data, i.e., one for Name and another  Email only. So you can see that our Project need much more improvements if we want more features added.</p>
<p>Also please take note that, everytime you SHARE DATA between GROUPS or MAKE NEW GROUPS from a Search, there are overlaps of GROUP members. This basically means, an ITEM with the SAME INFO  are SHARED across many groups. The problem is, when we edit the info of such item in 1 group, we also need to update the same item if it is hosted in other groups as well. This redundancy issue must be resolved.</p>
<p>The best and efficient way is to use SQLite or XML. With SQLite and XML, we can set unique IDs for every ITEM. When we edit an item which belongs to several groups, we update only once for all groups. Saves lots of time and avoids confusion. And the best thing of all is that, we can add more details for every item. We&#8217;ll see this in the next topic.<br />
<SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-h4m3"> </SCRIPT></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%238211%3B%20TextFile%20Interactions%20%3A%20Search%20Items&amp;linkurl=http%3A%2F%2Famstudio.azman.info%2F2009%2F04%2F23%2Flistbox-textfile-interactions-search-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/23/listbox-textfile-interactions-search-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

