Add a footer and run action
Hi.
I'm considering performing the following processing automatically for multiple files in different folders.
(1)Using Edit PDF -> Header & Footer -> Add to insert page number in specified font at the center of footer and
change the margins(top,bottom,left,right)
(2)run a custom action to protect the pdf file.
I tried inserting the page number using "addField" as below through IAC, but I donn't know which the property to change the margin and
it seems that the page number inserted using "addField" is different with the result of (1) process.
-------------------------
Set acroFooter = jso.addField(CStr("xftPage" & i - 1 & 1), "text", i - 1, Array(bStart, 30, bEnd, 15))
acroFooter.Value = "Page: " & i + 1 & "/" & TotalPages
acroFooter.textSize = 6
acroFooter.ReadOnly = False
acroFooter.Alignment = "center"
-------------------------
Because it is possiable to add a new action that executes the process of (1) and I have to execute the (2) action ,
so I thought about to execute the action using javascript, but I coundn't find the way to execute a action.
There is a way that using the "AutoBatch" plug-in" which allows users to execute any existing Action Wizard "action", but it's not free.
So...
(1)Do I have to create a plugin for these processes?
(2)If yes, which API can be used to insert footer and execute a action?I coundn't find the API to insert footer.
(3)If no, what kind of processing should I do?
Please give me any idea.
Thank you.
