PDA

View Full Version : List/ Open Question


Lub
02-14-2003, 09:59 AM
I have embedded reader to open a pdfs on a disk. My question is the files names can vary, so is there a way still to do this. There is no standard disk containing pdf files. If someone orders certain info packets they go on the disk and so on.

Any help would be great

Derek
02-14-2003, 10:36 AM
I think I know what your saying ... [a little extra info would be nice /ubbthreads/images/icons/smile.gif]

You could use the option to read in the filenames from a text file and, perhaps, use variables in AMS. This way, all the pdf files would be kinda dynamic.

Lub
02-14-2003, 10:53 AM
Here is example of what a disk would contain:

Disk 1 order:
patrol.pdf
sniper.pdf

disk 2 order:
TEMS.pdf
Sniper.pdf
SWAT Command.pdf

Next disk would be completely different

Lorne
02-14-2003, 11:00 AM
You could use a File - Search action to get a list of the files in a specific folder on the CD.

Lub
02-14-2003, 11:02 AM
Can you show me an example.

Lorne
02-14-2003, 12:33 PM
Sure, there are a couple examples in the help file that should give you some ideas.

Under Command Reference / Actions / Examples / Advanced:

Searching the desktop for text files

Under Command Reference / Actions / Examples / Intermediate:

Searching for MP3s and adding them to a list box

It really isn't that hard to do...study the help topic for the File - Search action, it explains pretty much everything you need to know.

You'll want to use the "Specific folders/drives" option, and provide the path to the folder where your PDF files are in the "Custom directories (semicolon delimited)" field. Something like %SrcDrv%\foldername as the path.