• 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
emailer script question....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emailer script question....


  • Subject: emailer script question....
  • From: "michael s. roels" <email@hidden>
  • Date: Wed, 06 Dec 2000 12:59:51 -0600

i have written a script for emailer to create a new mail message, address
it, paste the contents of the clipboard in the body of the message, and send
the message. everything works as planned as long as i do not try to paste
from the clipboard. i get an error that states "claris emailer got an error:
this command is not available while the application is in the background"

i get this error while running the script in script editor and as a classic
applet.

can someone please help? i know this has to be something small that i am
overlooking.

thanks in advance for any help!

michael
______________________________

(the "{" and "}" and everything in between them are all on one line. it is
wrapping in this email.)

START OF SCRIPT

tell application "Finder" to launch "claris emailer"

tell application "Claris Emailer"

set bodyvar to clipboard --"test message"
set addrVar to "email@hidden"
set addrNameVar to "me"

set subjectvar to "re: "

make new outgoing message with properties ,
{subject:subjectvar, content:bodyvar, scheduled:true,
recipient:{{address:{address:addrVar, display name:addrNameVar}, recipient
type:to recipient}}}
connect to "America Online" with properties and sending

end tell

END OF SCRIPT


  • Prev by Date: Selecting entire line in BBedit.
  • Next by Date: Re: Error -415 when setting File Sharing
  • Previous by thread: Re: Selecting entire line in BBedit.
  • Next by thread: Re: emailer script question....
  • Index(es):
    • Date
    • Thread