Forgive me for being a novice at scripting but I was hoping to borrow from the community of knowledge.
I am using Macro Scheduler 14 to automate the actions of Readiris, an OCR program. My initial script was good but now I need the following:
1. Open the Redaris program (Done)
2. Open the file open box (DONE)
3. Select ONE file at a time to process and NOT a batch. The file names will change everyday. The number of files in the folder will vary everyday as well. (NEED HELP)
4. Process File (DONE)
5. Save and FTP (DONE)
I tried using the getfilelist without success and would like to know if anyone has accomplished in the past.
Thanks and Regards,
CR
Selecting one file at a time
Moderators: Dorian (MJT support), JRL
Re: Selecting one file at a time
Hi, maybe this will help:
Code: Select all
GetFileList>C:\Users\.....\*.*,strFileList,;
Separate>strFileList,;,file_names
MessageModal>Num Files: %file_names_count%
Let>k=0
While>k<file_names_count
Let>k=k+1
MDL>file_names_%k%
EndWhile