Page 1 of 1
Renaming a File
Posted: Fri Jun 20, 2008 6:50 am
by Cobra
Many thanks for the help!However, I am still confused about printing.My scenario is I have daily logs that are saved each day and of course incremented with the current days date.Can I have RoboTask find the current days file and print it?Again, any help is extremely grateful.Hi all - This may be a simple one to most of you but I just don't get it. I need to copy a file abc.pdf to another location with the prefix (CurrentDate)abc.pdfI am also looking to print all files in a directory with the "Current Date". Any help will be greatly appreciated!~ Cobra ;
Renaming a File
Posted: Fri Jun 20, 2008 10:51 am
by Oleg
I think that you have to make moving in two steps
1. Renaming
2. Moving the file to anothe location
Renaming
specify the source file - abc.pdf
specify destination name - {year}{monthno}{day}abc.pdf
RoboTask renames file to 20080620abc.pdf today
Regarding printing.
RoboTask doesn't print documents directly. It uses the default application for document kind. You may print documents by using the file loop, like this:
File loop by *.pdf in specified folder
print current document
end loop
Renaming a File
Posted: Mon Jun 23, 2008 6:03 am
by Cobra
Many thanks for the help!However, I am still confused about printing.My scenario is I have daily logs that are saved each day and of course incremented with the current days date.Can I have RoboTask find the current days file and print it?Again, any help is extremely grateful.
Renaming a File
Posted: Tue Jun 24, 2008 10:09 am
by Oleg
What is format of your log file name?
Also you can select the file within file loop. See the date filter of the loop.