Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

Add file name and "page x of x" to bottom of documents

$
0
0

I am working on making the bottom center of thousands of document look like the below example.  It can be done with a footer but the bottom right corner is already taken so it has to be spaced in the center.

 

 

I need this to be automated in the Action Wizard, here is what I have come up with so far and it successfully adds the name to the bottom center but I cannot seem to figure out how to add the page x of x for each document separated by a comma.

 

event.target.addWatermarkFromText({
cText: event.target.documentFileName,
nFontSize: 10,
nVertAlign: app.constants.align.bottom,
nVertValue: 18
});

app.execMenuItem("Save");

 

 


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>