• 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: Tex-Edit: select to EOF?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tex-Edit: select to EOF?


  • Subject: Re: Tex-Edit: select to EOF?
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 26 May 2003 12:19:07 -0500

At 09:40 -0600 2003/05/26, Gnarlodious wrote:
How do I tell Tex-Edit to select from the cursor to the EOF? Can't seem to
find it.
I need to delete the iTunes playlists from the XML file.
______________________________________________________________________

Greetings,

This'll do your select:

tell application "Tex-Edit Plus"

tell front document to select (characters (get offset of selection) thru -1)

end tell


This'll do a direct delete:

tell application "Tex-Edit Plus"

tell front document to delete (text from character (get offset of selection) to -1)

end tell


OR

tell application "Tex-Edit Plus"

delete (text from character (get offset of selection) to -1) of document 1

end tell



Best Regards,

Christopher Stone
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • iTunes Library -> HTML
      • From: Gnarlodious <email@hidden>
    • Re: Tex-Edit: crashes selecting to EOF
      • From: Gnarlodious <email@hidden>
References: 
 >Tex-Edit: select to EOF? (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Scaling image (with Akua?)
  • Next by Date: Re: Jon's Command Walk Folders from within a Folder action script
  • Previous by thread: Tex-Edit: select to EOF?
  • Next by thread: Re: Tex-Edit: crashes selecting to EOF
  • Index(es):
    • Date
    • Thread