> I am not sure how to it directly in PDFedit, because I don't know how to
> query for all files in some directory.
> @Martin: any idea?
For doing it directly in scripting in PDFedit:
var dir = new Dir;
dir.mkdir('output');
var list = dir.entryList('*.pdf');
for (var i = 0; i < list.length; ++i) {
try {
delinearize(list[i],'output/'+list[i]);
} catch (e) {
print('File '+list[i]+' failed to delinearize');
}
}
The above script does basically the same as the shell script that me (and
Michal) posted
Martin Petricek
GPG/PGP Public key: http://www.petricek.net/petricm.pgp
Fingerprint 6AA8 FFCE C061 1CB2 55F0 A1F3 3AA9 EB4F BD50 C1B8
/------------------------------------------------------------\
| WWW: http://www.petricek.net/ |
\------------------------------------------------------------/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support