Search Image Utility : Drill Down
Hi,
We need to improve the Search Image Utility slightly before we go forward and insert it to our Mini Email Address Book. The previous examples shows how to search the whole selected drive. This time, we can drill down and choose our search to specific folder. This way, we don’t need to search the whole drives everytime. Now we have more control of our search.
If you check the screen shot below, you’ll see I’ve added 2 Buttons, 1 Check Box and an additional Label.
The Refresh Button : refreshes any new storage media that was just inserted such as Thumbdrive and etc. It also clears the Selected Folder Path Flat Input Box.
The Folder Button : opens a Dialog of Folders within the Selected Drive. Select a Folder. The path will appear in the Flat Input Box. This input box is Read Only. So you can’t delete what you selected by typing into it. To delete it, you have to use REFRESH BUTTON. To choose another folder, just click the FOLDER BUTTON again.
The Check Box “Keep Previous Search” : will let you keep previous search in the Search Result ListBox. This is useful for doing lots of searches, trim what you dont need and save into specific Groups. This is where the new Label comes into play.
The Label “FOUND” : shows the total number of items found in the latest search.
The Label “TOTAL” : shows the total number of items in the ListBox.
For the purpose of the Mini Email Address Book, the Image Size I plan to use are normally small. We have the choice of using our favourite Image Editing Tool. If we need to embed a basic image editing console, then the use of DLLs is unavoidable. So in the next article, I’ll be using some DLLs to :
1. Rotate Image
2. Resize Image
3. Crop Image
I will maintain the Images’ Aspect Ratio and then Save the Images into its special folder just for the Mini Email Address Book.
Please Login or Register to download this file.
Please leave a comment if you choose to download this example.
WARNING : This example needs advance familiarity with AMS objects and actions. Cut and paste will not help in improving your skills. You need substantial understanding to place Error Check functions in the scripts. Advance skills is also needed if you plan to improve this example and repair my mistakes. SO…. if you are not familiar with AMS object and actions, please dig and understand Basic Examples I have posted earlier. And use the HELP FILE as reference.



how to download
thanks Azman your exampes are very good.
I,am not a programmer but with this i can learn how it works.
Thanks again.
Stan
so good example
that’s mean agood man
Azman – I’m a newbie with AMS putting together a fast project – your example was SO MUCH HELP!
Thank you so much for taking the time to put this together, and being willing to share. It is much appreciated!