• 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
Re: 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]

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


  • Subject: Re: I need to create a script that changes my email ID on mail.app
  • From: JF <email@hidden>
  • Date: Sun, 12 May 2013 23:15:36 +0100

I had the same problem. I only needed a signature on my business emails, so my workaround was to add it as text in the email. So I have a bit more to my script:
_______________________
set msg to (make new message with properties {subject:"Hello", account:"XX", status:draft, content:return & return & "XXXX:" & return & return & return & "

**********
Signature LIne 1
Phone
email address"})
_______________________

HTH but if anyone can find a way of putting in the signature by referring to it in the script, I'd appreciate it


Sun, 12 May 2013 15:51:08 -0400, Kerry Dawson  wrote:

>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:
>@fmail.co.uk
>Archives: http://lists.apple.com/archives/applescript-users
>
>This email sent to 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

References: 
 >I need to create a script that changes my email ID on mail.app (From: Kerry Dawson <email@hidden>)

  • Prev by Date: I need to create a script that changes my email ID on mail.app
  • Next by Date: Re: uneditable [OT]
  • Previous by thread: I need to create a script that changes my email ID on mail.app
  • Next by thread: Re: I need to create a script that changes my email ID on mail.app
  • Index(es):
    • Date
    • Thread