• 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
Script to insert SE2 script in Eudora message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script to insert SE2 script in Eudora message


  • Subject: Script to insert SE2 script in Eudora message
  • From: John Delacour <email@hidden>
  • Date: Thu, 6 Mar 2003 16:19:41 +0000
  • Mac-eudora-version: 6.0a9

Here's a script to run from Eudora's Scripts Menu/toolbar.

It takes the whole contents of the front window in SE2 and pastes it at the insertion point in Eudora's front (text or message) window.

You can modify it to get just the selection or to insert into an inferior mailer.

I'll upload these to my site when I have time.


Note that in the last script I didn't need to say _my_ text item delimiters. In this one I must, even if I run the script from SE2, because it's in an explicit tell block.



tell application "Script Editor"
set s to the contents of the front document
if s is "" then return beep
set my text item delimiters to ASCII character 10
set ls to text items of s
set my text item delimiters to return
set s to ls as string
set my text item delimiters to tab
set ls to text items of s
set my text item delimiters to space & space
set s to ls as string
set s to s as record
set s to <<class ktxt>> of s -- usual stuff :-<
end tell
tell application "Eudora"
set the selected text to s
end tell
_______________________________________________
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:
    • Re: Script to insert SE2 script in Eudora message
      • From: Emmanuel <email@hidden>
  • Prev by Date: Command to exit script immediately?
  • Next by Date: Re: [OT] FileMaker Pro scripting
  • Previous by thread: Re: Command to exit script immediately?
  • Next by thread: Re: Script to insert SE2 script in Eudora message
  • Index(es):
    • Date
    • Thread