Search File Function
Hi,
Searching for softcopies of files is a common thing at work. People with loads of files sometimes forgot where the files are. In Windows there is already a Search Utility but it is hardcoded and cannot be PLUGGED-IN to our own APP. With AMS, we have the opportunity to customise our Search format as well as how to keep and to view the results.
The example posted today is a very basic Search Utility Project. However, it is an important one. From this example, I’ll be making a utility to SELECT PHOTOS from my PC. Each photo will then be linked to its relevant owner in our Mini Address Book Project.
For now, what this example does are as follow:
1. Defines all available Storage Media on a PC
2. Searches all folders including drilling-down of sub-folders
3. Choice of wildcat options thru Radio Buttons
4. Status Dialog
5. Saves the Search Results in ListBox
6. Double-click ListBox to Launch a selected file
7. Saves the same Search Results in a unique Text File based on the Search Text.
You can extend this utility by adding Load Text File feature. This way, you are making a File Launcher for unique purposes. View previous examples to see how to Load Text File to ListBox. More features can be added by viewing other project examples and understand how it is done.
Please Login or Register to download this file..
Please leave a comment.





Hey sorry I did not know where to post website questions or comments…
Anyway is it possible to share a sample how to add a process List into AMS, I mean computer process list like in the task manager for your PC? Thanks
For people that use AMS 8, On page 1 -> Show, change line 3
for i, drives in tDrives do
to:
for i, drives in pairs (tDrives) do
and this too
Buton 1-> On Click
line 40
for j,file_path in tFile do
to:
for j,file_path in pairs (tFile) do
I want to know, How to create input to text from txt file (AMS
Plz help me anybody. Thanks in advance
Emaiil : digitech_cmrc@hotmail.com