Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Michelle Steiner <email@hidden>
- Date: Sun, 28 Jun 2009 06:25:33 -0700
On Jun 28, 2009, at 5:38 AM, Richard L. Zijdeman wrote: Stata is a statistical package with an editor through which you can run commands. However TextWrangler is of course a much more advanced editor and therefore I would like to use that.
This should do it:
tell application "TextWrangler" set alpha to startLine of (get the selection) set omega to endLine of (get the selection) set AppleScript's text item delimiters to return set the selected_paragraphs to (paragraphs alpha through omega of (get the contents of text document 1)) as text end tell
-- Michelle
-- "There's some good in the world, Mr. Frodo, and it's worth fighting for."
|
_______________________________________________
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
References: | |
| >(no subject) (From: "Richard L. Zijdeman" <email@hidden>) |