App for Specific Macros

Discussion in 'Mac Apps and Mac App Store' started by AT101ET, Jan 14, 2015.

  1. AT101ET macrumors 6502

    Joined:
    Jun 21, 2012
    Location:
    UK (London)
    #1
    Hi,
    I need an app that allows me to create a macro that will delete every second line of my pages document.
    The document contains a good few thousand lines so looking for something I can run through the whole document that will delete every second line of text.

    Any ideas. Preferably ones that are simple to use and free.

    Thanks
     
  2. passfree macrumors newbie

    Joined:
    May 22, 2014
    #2
    What sort of document? You can easily achieve this via a shell script as long as you are dealing with not formatted text.
     
  3. Partron22 macrumors 68000

    Partron22

    Joined:
    Apr 13, 2011
    Location:
    Yes
    #3
    An AppleScript should work to delete alternate paragraphs from a Pages document, regardless of how it's formatted. Some care will be required as figures and double-returns likely count as paragraphs too.
     
  4. AT101ET thread starter macrumors 6502

    Joined:
    Jun 21, 2012
    Location:
    UK (London)
    #4
    The document is a pages document.
    I just need every second line to be deleted.
    The lines have no spacing and each consists of both numbers and letters.
    (It an encrypted code).
     
  5. AT101ET thread starter macrumors 6502

    Joined:
    Jun 21, 2012
    Location:
    UK (London)

Share This Page