Support My Blog
Download Free Games

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.

Search Image Utility

Search Image Utility

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.

Search Image Utility

Search Image Utility : Folder Drill Down

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.

  • Share/Save/Bookmark

6 comments to Search Image Utility : Drill Down

  • brain

    how to download

  • stanhamers

    thanks Azman your exampes are very good.
    I,am not a programmer but with this i can learn how it works.
    Thanks again.
    Stan

  • hassan gamal

    so good example
    that’s mean agood man

  • Devon

    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!

  • balci60

    Thanks alot Azman, I agree with “stanhamers”.

  • dinosvemirac

    Hello,
    My name is Dino and I will deal with computers 18 godina.Unfortunately I do not know programming and I ask you to help me.I am making (Hidden Object Game) games, and now I’m stuck on scripting.I need Help with a script. In the game are hidden images (PNG ) for example, 4 images when I click one should go away (I did) but do not know when all the images found to program structure to the other page.I search google but did nothing find.I find your page and i decided that ask you for help.If you need more explanation send my email or writh here.My email is dinographicsystems@hotmail.com.Thanks a lot.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>