• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TextEdit, delete all blank lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextEdit, delete all blank lines


  • Subject: Re: TextEdit, delete all blank lines
  • From: has <email@hidden>
  • Date: Sat, 9 May 2009 11:21:38 +0100

Satyam Satyanarayana wrote:

Hi, Is there a way using apple script to delete all the blank lines
in the "rtf" file created by a TextEdit?



tell application "TextEdit" to delete (every paragraph of document 1 where it is "\n")


HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Applescript + Skype Export Contacts
      • From: "Sutapalli Satyanarayana" <email@hidden>
    • Re: TextEdit, delete all blank lines
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: TextEdit, delete all blank lines
  • Next by Date: Re: Automatic login
  • Previous by thread: Re: How do I expand the "Open Recent" number of displayed (last opened) items ?
  • Next by thread: Re: TextEdit, delete all blank lines
  • Index(es):
    • Date
    • Thread