alundra828
06-11-2015, 02:25 AM
Hello all! I'm currently having an issue with one of my scripts that batch edits documents. The problem is not with the script itself, it's something I have overlooked, and have no idea how to sort!
The script is batch editing documents with mergedata in it. Meaning, that when my script opens the file, and starts to make the amendments, it is asking for the .hed file, which you can remove manually, but if you're editing hundreds of documents it causes it to hang, and time out/crash. And this process is supposed to be as automated as it can be. Having to manually remove the data/header source file is a pain that sort of doesn't make this viable any more.
I was wondering if any of you could wizard up some code to automatically remove the data/header source file from all .doc files in a definable folder?
Thanks in advance!
The script is batch editing documents with mergedata in it. Meaning, that when my script opens the file, and starts to make the amendments, it is asking for the .hed file, which you can remove manually, but if you're editing hundreds of documents it causes it to hang, and time out/crash. And this process is supposed to be as automated as it can be. Having to manually remove the data/header source file is a pain that sort of doesn't make this viable any more.
I was wondering if any of you could wizard up some code to automatically remove the data/header source file from all .doc files in a definable folder?
Thanks in advance!