• 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
I need to create a script that changes my email ID on mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I need to create a script that changes my email ID on mail.app


  • Subject: I need to create a script that changes my email ID on mail.app
  • From: Kerry Dawson <email@hidden>
  • Date: Sun, 12 May 2013 15:51:08 -0400

I have been able to create two scripts for newly created emails - one which uses one email ID I use for friends on mail.app (iCloud) and another for business acquaintances. What I can't seem to do is create a script for an email like this that has my standard email address come up and I need to change that and the signature. What I'm doing is mousing or having Keyboard Maestro sometimes mimic the mouse actions but Applescript would be so much better.

So my script is for a new email:

tell application "Mail"
activate
set theMsg to make new outgoing message with properties {sender:"<email@hidden>", visible:true}
set message signature of theMsg to signature "Kerry"
end tell

I just can't see how I can write a script without a syntax error that would send this email with my alternate id and signature. It seems so simple but constantly have syntax errors.

Can anyone help with this.

Kerry Dawson
email@hidden




 _______________________________________________
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

  • Follow-Ups:
    • Re: I need to create a script that changes my email ID on mail.app
      • From: Christopher Stone <email@hidden>
    • Re: I need to create a script that changes my email ID on mail.app
      • From: JF <email@hidden>
  • Prev by Date: Fwd: Satimage XMLLib.osax
  • Next by Date: Re: I need to create a script that changes my email ID on mail.app
  • Previous by thread: Re: mounting a usb drive
  • Next by thread: Re: I need to create a script that changes my email ID on mail.app
  • Index(es):
    • Date
    • Thread