Allows you to add numbers to a chapter in a pdf file automatically.
Example
Running this code will append the PDF file and add an auto-numbered chapter named "Sample Chapter" to the file "Sample pdf 2.pdf", saving it to "pdf add chapter auto number.pdf".
plugin command("Document Automation.dll", "pdf append existing file", "{$special folder("Application")}\\Sample pdf 2.pdf", "{$special folder("Application")}\\pdf add chapter auto number.pdf", "Start") {
plugin command("Document Automation.dll", "pdf add chapter auto number", "Sample Chapter")
}