Re: Tex-Edit: select to EOF?
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.