Forum Home
Press F1
 
Thread ID: 139102 2015-03-11 01:05:00 Javascript help DeSade (984) Press F1
Post ID Timestamp Content User
1396193 2015-03-11 01:05:00 I have a need for some scripting but I do not know where to start.

I found a option to add a script to the end of my Adobe Action that would clean the files up for me but need help with the script.

Scenario
Folder starts out with one file (Test1.pdf)
After processing there are two files (Test1.pdf) and (Test1abc.pdf)
Test1 is the original and Test1abc is the processed file.

I need the script to automatically delete any file within the folder and sub-folders that does not have the abc code on it so it cleans up the original files leaving the usable processed files.
The parent folder name does not change but the internal folders will.
DeSade (984)
1396194 2015-03-12 07:01:00 Do not look to JavaScript, it won't help you here.

Whatever is doing the processing, that creates the new file, will also be what you can use to get rid of those files if it has permission to do so.

Show the gist of the code or whatever other programming languages that are used and I could write up the code to help you.

Cheers,

KK
Kame (312)
1