Is this possible?
Is this possible?
I am looking for a program that will watch a specific folder for new files. When the new files are found it would then open the files and search for specific text. If found it would close the file and move it to another folder. If not found, it would change different text in the file, save and move the file to another folder. All of the files will be moved to the same folder in the end.Multiple files will be input in the watched folder at the same time.Is this possible with this program? How difficult would this be?Thank you for your answers and help
Is this possible?
Yes of course it is possible.
In order to replace text use STR Replace (or RegExp Replace for more compex cases)
In order to process files one-by-one use File Loop
Look at "File Monitor" triggering event. It will start you task when new files arrivedI am looking for a program that will watch a specific folder for new files
You may use strings actions or regular expressions (it depends on your goals).then open the files and search for specific text. If found it would close the file and move it to another folder. If not found, it would change different text in the file, save and move the file to another folder. All of the files will be moved to the same folder in the end
In order to replace text use STR Replace (or RegExp Replace for more compex cases)
In order to process files one-by-one use File Loop
Is this possible?
Besides, is it possible to make the program not move/copy files if they don't exist in the destination folder? Sometimes I update translation files and for this I need to temporarily unpack/install the program related to the translation in a partition/drive other than the one from which I do the translation task - procedure that kind of works as a makeshift backup resource. Then, of course, after finishing the job, I delete/uninstall the destination program/folder, so as not to clutter the involved drive with programs that actually I happen not to use.
Thanks.
Thanks.
Is this possible?
Use File loop by mask. It is useful when you don't know filenames beforehand.is it possible to make the program not move/copy files if they don't exist in the destination folder?
For example:
file loop by *.txt processes all existing TXT files.
Is this possible?
I guess you didn't realize the sentence was a negative one. Please, note that I wrote "NOT move/copy files...". Sorry, I should have stressed this.Thanks for your time.