- I want to open a text file from a program and do some stuff them save it to another folder.
- Then open another text file from the same folder next to previous file then so on.
Please advice..
Please advice..
Hi Samantha,
For example I will open a notepad program then open a text file from a folder then do something with the content. After that I will save that to another folder so the original file will not be overwritten. After that the bot will loop and open the next file in the folder. and so on...
Please let me know if this is clear enough.. If not just let me know.. :)
Kratos
Well..
it's clear enough that you will have to use the Run Application action, in conjunction with the Wait for window or Process .. since you will be doing something using another program.. But that's all I can figure out with the info you have given me.
Have you started to build this job? Do you have a manual procedure you are following step by step?
At which exactly step are you getting difficulties?
:)
Samantha
Rome wasn't built in a day..
Samantha,
The procedure that I wanted to know is how to chose the next file after the previous one continuosly..
Kratos
You use the Get Files in Folder, and then use a For each action and use the Run Application to open each text file in notepad.
Selecting the Wait for Application to complete option, you can make as many changes to the file and then once you close it .. it will open the next one..
Please check attached job.. and let me know whether this is what you were after.
:)
Samantha
| Attachment | Size |
|---|---|
| kratos.waj | 14 KB |
Rome wasn't built in a day..
Hi samatha Im stucked again.. I need your help.. I dont know how to do this.. If you can provide me the source for this I will be grateful..
What I need to get done:
I didnt see the tutorial on how to do this. I am able to open a text file using send mouse click but I dont know what to do next to loop and choose the next one..
I really need your help..
Thanks in advance. :)
Kratos
Hello kratos,
The job you are describing should actually look something like the attached job A.
But since you only want to save the file, why not go for a simpler and much quicker solution of copying the files to another folder directly instead of opening them first? (Please check attached job B)
Let me know if it worked for you
:)
Samantha
| Attachment | Size |
|---|---|
| 20100830_kratos A.waj | 16 KB |
| 20100830_kratos B.waj | 14 KB |
Rome wasn't built in a day..
Hello kratos,
I'm afraid that your description is not enough to help us help you. What do you want to do to these files? Is it each text file in that programs folder you want to read, edit content and then save final file to new folder leaving the original content as it was?
Looking forward to hearing from you so we can get you sorted out
;)
Samantha
Rome wasn't built in a day..
Rome wasn't built in a day..