How can I auto delete certain pages

I need to delete some pages in a large PDF file. The headings are unique. For example, If each page of the file contained the name of a country as the heading and a description of that country in the body; I would need to identify certain countries and delete those pages. Thanks, in advance.

That is not a simple task. You would need to loop over the pages, checking their contents word-by-word using the getPageNthWord method until you find what you're after. Then you would delete the page using the deletePages method. Just keep in mind that removing items in an array that you're iterating over can cause problems, so it's better to iterate from the end of it to the start.

Similar Messages

  • How can i safely segregate certain cookies (such as my bank's) so that i can use the delete all cookies feature but preserve those cookies?

    how can i safely segregate certain cookies (such as my bank's) so that i can use the delete all cookies feature but preserve those cookies? windows xp, firefox 13.0.1

    You can't delete all cookies if you want to preserve some of them.
    You will have to let all cookies expire when you close Firefox and create an allow exception for cookies that you want to keep and only clear cookies manually and not via Clear Recent History.
    *Tools > Options > Privacy : History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    You can also consider to access website in Private Browsing mode if you do not want to store data to disk form those websites.
    *https://support.mozilla.org/kb/Private+Browsing

  • Delete certain pages from spooljob

    Hi,
    how can we delete certain pages from a spooljob?
    Like delete page 4, 8, 13, or 25.
    Thanks in advance.

    Hi,
    have a look at  RSPO1041,RSSPO041 and RSBTCDEL
    hope this helps u..
    Thanks & regards.

  • How can I create a new page in pages, without creating a new section?

    how can I create a new page in pages, without creating a new section?

    Good morning graywright,
    It sounds as if what you are wanting to do in the Pages application is to insert a Page Break. Follow the steps in this article -
    Pages '09: Inserting a Page Break
    In a word processing document, click where you want the break to occur, and then choose Insert > Page Break. 
    To remove a page break, click at the beginning of the line that follows the break and press the Delete key.
    In a page layout document, to insert a new page in your document, click Pages in the toolbar and choose from the template page options available.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How can I tell if a page is secure

    How can I tell if a page is secure? There used to be an option to view a security certificate although this has been removed from the toolbar?
    Also, how can I refresh a page now that the button has been deleted from the toolbar?
    Thanks

    It has been changed. Please read this article:
    https://support.mozilla.com/en-US/kb/Site%20Identity%20Button
    You can use this add-on to get the classic icon back:
    https://addons.mozilla.org/en-US/firefox/addon/padlock-icon/
    Refresh Button:
    It has been incorporated into the far right end of the Address Bar. When you load a page, it is a "Stop" button, when it finished loading, it turns into a "Reload" button.
    If you want it to be somewhere else in the Toolbar, you can drag it out to wherever you want. If that doesn't work, try this:
    View > Toolbars > Customize and drag the Refresh/Stop icon into the window, then drag it back out to wherever you prefer.

  • How can I completely delete imessagefrom my Iphone 5?

    how can I completely delete imessagefrom my Iphone 5?

    The Messages app is a built in application. It can't be deleted. You could move it to a folder or to the last home page so that you don't have to look at it.

  • How to set auto delete option for old messages

    Hi All,
    Can any one help me on how to set auto delete option for mails older than 15 days from my Z10.
    James Kurian

    There is no such option in BB 10.
    However, you can achieve a similar result by setting your email sync timeframe to 14 days (the closest option).
    If you are using an ActiveSync account (such as Hotmail, Outlook.com), go to Settings > Accounts > select the account. Tap advanced at the bottom of the screen. Scroll to the very bottom, tap Sync Timeframe and set to 14 days.
    If you are using an IMAP account (such as Gmail or GMX), you will have to delete, then re-add your account.  The Sync Time frame is only avaialble during setup for these accounts.  When adding, tap advanced at the bottom of the screen and set the Sync Timeframe.
    Hope this helps.

  • How can i recover deleted yahoo email? its also deleted in trash?

    how can i recover deleted yahoo email? its also deleted in trash?

    I presume since you posted here that you have a TC running backups with Time Machine???
    Otherwise no I doubt you can recover it. Once deleted from trash it is likely overwritten on the disk if you used it at all.
    Look at recovery of particular emails here.
    Edit this is apple mail.. I have no idea what client you are talking about for yahoo mail.. if it is web mail and trashed.. and not in a trash box then it is likely gone. It depends on settings on the local computer.. if you are downloading mail or simply using it via the yahoo mail page..
    I would recommend you contact yahoo or google for their mail server info and how to recover. Assuming you are using web mail.. as there is actually nothing locally you can do to recover it.
    http://pondini.org/TM/15.html
    Look down for the particular info about mail.

  • How can i completely delete message app from my mac?

    how can i completely delete the message app from my mac?

    As per email.
    Hi,
    In the Finder (have any window open), Use the Go Menu whilst holding down the ALT key.
    This will show the Library in the Menu, select this.
    Navigate to the Preferences folder.
    Find the com.apple.ids.service.com.apple.madrid.plist file and drag it to the Trash.
    This is the one Messages reads directly to create the Receive At list and, if shown, the Start Conversations From drop down.
    If Messages was starting properly and you restarted it at the point you would have to re-enter the Apple ID.
    On the iPhone.
    Go to Settings > Messages  and check the app is ON first.
    Then check the Send and Receive Section.
    This will always list the iPhone Number as ticked and Greyed out (You can’t edit it).
    Having said that I have twice found the Number to be Unchecked (whilst still grey out).
    If this is the case go to the Apple ID section and Remove the Apple ID.
    This will also remove it from the Send and Receive section (you can’t do it the other way round.)
    Once that is done, place the iPhone in Airplane mode to break with the Servers.
    After a few minutes take it out of Airplane Mode and return to Setting > Messages
    You should see the iPhone Number being Verified. Wait until this is done.
    (I would normally suggest sending an iMessage to the Apple ID at this point as it would be the only Active ID on the Mac. And sending a reply)
    You can now add the Apple ID back to the iPhone if you wish to use that as well, if you intend to use it.
    If not then you way want this site https://selfsolve.apple.com/deregister-imessage
    Please stick to one method of asking me  (The thread will do for now.)
    I am here 3 hours every evening.
    I read all the new post regarding email alerts from the boards.
    I then filter the Yosemite, Mavericks and iChat Areas using the Contents page and where require Messages or iMessages and deal with unread one.
    Posting here at 2.41PM (according to the Time view I have) and then emailing me 11 minutes later seems like you are giving me the hurry up.
    In the email and this Post you are not clear if you want Messages to work again.
    Removing the com.apple.ichat.plist may help with that.  (The Status Message one will not)
    You may find checking the Font Book and the AppleGothic Font  is the answer.
    8:56 pm      Friday; January 23, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How Can I Restore Deleted Query?

    Hi, gurus.
    Can anybody tell me How Can I Restore Deleted Query?
    Help me plz.

    If it has only been deleted from the role and not the object completely then it could still be found within infoareas in Bex, if the object has been deleted completely you could re-transport the query from the development system assuming it was created her in the first instance.
    I'm not sure if you can retrieve the query any other way, i do know there are procedures for workbook retrieval but for querys im not certain.

  • How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac account. Thanks!

  • How can i print just one page of photo book without printing the entire book

    how can i print just one page of photo book without printing the entire book

    Jim,
    Take heart.  We can help.
    First turn on page view so you can see how the content of your sheet fits on the page(s).  A Numbers document contains sheets (listed on the left) which in turn contain tables, charts, text, and graphics.  Select the sheet you want to print on the left, then enable page view by selecting the menu item:
    "View > Show Print View":
    Now you should see your content and how it fits on one, or more, pages.  If thie content is too big for one page use the controls and the bottom left of the window to expose the sheet controls:
    Here a table is too big to fit on one page:
    slide the "Content Scale" slider so the content fits:

  • How can I view as "single page continuous" in full screen mode?

    how can I view as "single page continuous" in full screen mode?
    preferences->page display:
    preference->accessbility:

    Not possible.

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

  • How can I make a decorative page border in Pages?

    How can I make a decorative page border in Pages?

    Hi Janet,
    I suppose that you are asking how to include a decorative border of your design into a pages document. How you design that border is rather out of the range of these discussions. So, let's say that you have a graphic that approximates a picture frame and has the required dimensions to frame your content.
    If you want to have the graphic appear on every page, Drag or Insert > Choose, to incorporate your design in to the document. The position it as you want it, and then Arrange > Send to Background and Format > Advanced > Move Object to Section Master.
    If there is more than one section in your document, there may be more considerations, but if you do this at the outset in the creation of your document, the design of the first section will flow to subsequent sections.
    Regards,
    Jerry

Maybe you are looking for

  • When you build an optic flare, how do you save it so you can use it in other projects .

    I built an optic flare in After Effects and I would like to use it in other projects. How do I save it so I can use it in other projects? and duplicate it. Thanks!

  • Export APEX application

    I am getting this message on Firefox when I try to login the application as a developer The requested URL /apex/f was not found on this server, and this error on Internet Explorer Expecting p_company or wwv_flow_company cookie to contain security gro

  • Infrastructure Navigator considerations or negative impacts

    Hello.  I have navigator installed in our test environment and it seems pretty straight forward.  You can turn it on or off through the web client.  It maps alot of the heavy hitter applications by default.  I have a couple questions before I put it

  • Updated to 10.4.10 and lost everything...

    Hi- Just updated to 10.4.10. Restarted my computer and everything is gone. All of my documents, all of my emails, application preferences, photos, etc. Opening Mail, Safari, iPhoto, etc. brings up the setup assistant dialog boxes, as if it's the firs

  • User defined field in marketing documents

    Hi All,          How to add user defined field in marketing documents using Programtically. Thanks, P.Suresh Kumar.