I was playing around with workflow and tried this script in order to delete a page and it works.
Dim myPDF : Set myPDF = Watch.GetPDFEditObject
myPDF.Open Watch.GetJobFilename, False
Watch.Log myPDF.Pages.Count & " " & pageType, 2
For pageType = myPDF.Pages.Count to myPDF.Pages.Count
If pageType <> “59” Then
Set myPDF = Nothing
I have to admit I am new to scripting of any kind. Does anyone have any suggestion for a script that deletes certain pages. For example from a PDF of 500 pages, delete pages( 58,281,389)