The method only deletes by the zero based page number. So you could write your own function to delete pages that subtracts one from the page numbers and then use the modified numbers to programmatically delete the pages.
You can not necessarily used the displayed page numbers in Acrobat/Reader as the Navigation Toolbar page label can be changed in so many ways and one does not have access to this in scripting.
You can not necessarily used the displayed page numbers in Acrobat/Reader as the Navigation Toolbar page label can be changed in so many ways and one does not have access to this in scripting.
George Kaiser