Speaking the name of the sender or arbitrary text in Mail rule

Does anyone know of a way to set up a Mail.app rule so that it will speak a phrase when the rule matches. For example, if I get email from Bob, make Mail say "New email from Bob?"
Right now I have to have either an individual Applescript or sound file to accomplish this. I am looking for an iChat/Adium/Skype/Every other app-like mechanism for "Speak the phrase 'new email from @@sender'" or something.

Try this one.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">-- speak the sender of mail passed by rule or selected in the Mail app
-- AK Dec 2007
using terms from application "Mail"
on perform mail action with messages theMsges
tell application "Mail"
repeat with AMessage in theMsges
set WhoSentIt to (extract name from sender of AMessage)
if (count of WhoSentIt) > 0 then say "Mail from " & WhoSentIt
end repeat
end tell
end perform mail action with messages
end using terms from
using terms from application "Mail"
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages (sel)
end run
end using terms from
</pre>

Similar Messages

  • I am using the big date calendar template and when I submit it to apple for printing I lose the name of two months. These names are not text boxes. I see the names when I send it in but something happens during the transmission to apple. It was suggested

    I am using the big date calendar template in iPhoto. I am on Lion 10.7.2, macbook air. The names of the months are on each calendar page but something happens when I send the data to Apple. The names are part of the template. They are not text boxes. I lose two names on the calendar after it is sent to Apple. Apple suggested I make a pdf file of my calendar before sending it in and check to make sure every name shows. I did this with a calendar I just sent in. The calendar was correct. All names of the months were showing. After sending the data two month names disappeard because when it arrived by mail, it was incorrect. Apple looked at my calendar via a pdf file and it was incorrect.  This is second time this has happened. I called Apple and they had me delete several folders in the Library folder, some preferences and do a complete reinstall of iPhoto.  I have not yet remade the defective calendar. I am wondering if anyone else has had this problem?
    kathy

    Control-click on the background of the view all pages window and select "Preview Calendar" from the contextual menu.
    You can also save the pdf as a file to compare to the printed calendar.  If the two names are visible in the pdf file then the printed copy should show them.  Contact Apple for a refund.  Apple Print Products - Apple Store (U.S.)

  • Mail running under LIon no longer grays out the name of the sender of an email that has been read.  How can I get that to happen?

    Under the old version of Mail, when an e-mail was read, the name of the sender was greted out so that I knew I had read that email.  This does not seem to happen under the new Mail thaqt came with Lion.  Help!?
    Chuck Humphrey
    [email protected]
    303-997-2755

    Kirk,
    Thanks again for your suggestions. No, I don't get an
    error message. In fact nothing happens. My name and
    key are typed in and from what I understand, once you
    do that with a real key it directs you to the
    registration page. When I get done entering the
    information the window just sits there without any
    button or option to continue.
    QT Pro is already in the QT (non-pro) you installed and the key (which is a hash of your name in part) allows the Pro features to work.
    No redirect, internet, nothing like that. As such many people have activated and think they haven't. Just look at the menu items and see if the "Pro" logo is shown next to a few (which are greyed out and not available without Pro). If not you are done.

  • When typing the name of the contact I want to send a text message to, names from my contact list no longer pop up as suggestions. Can anyone help me with this?

    When typing the name of the contact I want to send a text message to, names from my contact list no longer pop up as suggestions. Can anyone help me with this?

        There's always a way to reset the device jmn33! Thanks for keeping us in the loop. To process a full reset/restore on the device please visit http://vz.to/12TLCsR. Please keep us posted once this is completed, thanks!
    MatthewS_VZW
    Follow us on Twitter @VZWSUPPORT

  • ICHAT shows an IM name that is the sender that is not the name on the account. How do I change the name of the sender? Make sense?

    On my IChat accountn when I send a message to someone it shows a name, for example.
    John Doe (IM):
    Hello
    John doe is not my name. Mine for the sake of discussion will be
    Jim Nabors
    Why is John Doe showing up on my sent ICHAT texts when its not associated with my account?

    Hi,
    Can I check I have Understood this correctly ?
    You are saying if You send the IM the Buddy sees the name "John Doe" instead of "Jim Nabors" ?
    If this is an AIM login name there can be several reasons for this.
    1) AIM allow Display names to be used.
    Most people will remember setting this and tend to add Capitals and Spaces to their "Name"
    If you Visit AIM Settings you can check your Display Name (if there is one)
    Mine look like this when I have signed in
    I have it set to display iChat Guru
    2) iChat takes the naes in the Buddy List you have and combines that with the Address Book entries (an entry has to list a person's Screen Name)
    That causes the iChat Buddy List to display their "Real Name" (or whatever you added as their "First Name, Last Name")
    It could be that your Buddy calls you "John Doe" in their Address Book.
    The only way you can be sure is to have them take a Screen Shot  of the chat and send it to you.
    (best to use some phrase or pic so you are certain is going to be you only)
    Example Bonjour Chat with me at both ends.
    I have the View Menu > Messages set to to display Names and Buddy Pics  so the left hand "Buddy" shows my name as in the Address Book on the other computer (even though I use the same pic)
    This leads on to what iChat shows you at your end.
    In the header it can show your your "Handle" (Screen Name) or your Real Name as it appears in the address Book at the My Card entry.
    The Address Book tends to have the name in the My Card of the person that created the Mac User Account.
    This can mean that if your are logged on to the Mac as someone else that this will display at your End.
    Only your Screen Name is sent to the other end.
    10:00 PM      Thursday; January 26, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to get the name of the attachment in Sender Mail Adaper?

    hi mates,
    I've scenario a where in I need to pick up a mail with an attachment and change its extension and send it to target system using file adapter.
    I'm able to pick up the mail with attachment using sender mail adapter but not able to get the name of the attachment so that I can use it in mapping or on the adapter configuration. How do I read the name of the attachment and manupulate it?
    I looked at the thread sender mail adapter - attachment name But the solution is not described. I think Stefan is talking about the SP!2 for PI 7.0. I'm on XI 3.0 what is the equivalent SP for that, SP20? Stefan, can you please throw me more light on it?
    I appreciate your valuable inputs
    thx in adv
    praveen

    Thanks Aamir.
    Earlier I replied to that thread asking for more details...but did not see the response...
    anyways, thanks for your quick help..
    but I wonder abt the PI SP12/ XI SP20 pre-requisite. We can have adapter modules on SPs lower than PI SP12/XI SP20 as well, can we not?
    thanks
    praveen

  • Is there a way to hide the name of the sender of a text message?

    Is there a way to hide the name of the sender of a text message?

    If the sender's name is not in your Contacts only the number will be shown, not the name.

  • Change the format of the name of the sender in UWL

    Hi Experts ,
    In my UWL the column "FROM" , display  the  name of the sender as " Last name, First name" . My requirement is to display  the name as "Firstname, Last name " .
    eg: In my uwl now it display  like "Jobs, Steve" . But my requirement is to display  it like "Steve, Jobs".
    Can you suggest any solution for this requirement ?
    Regards,
    Sumana

    >Our client is requested for this naming format Firstname , Lastname .
    Did they tell why?
    I don't know any other way than creating a new custom columns & attributes into UWL and then populating them from the webflow/workflow container. Then you of course need to populate the workflow container too properly. I personally see this as something that I would avoid to do at all costs. Also remember that the "sender" task will not perhaps work properly even in its current form in the future or in some other workflow. If the work item is create by workflow system user WF-BATCH, the sender column will show this user instead of the "real sender". This is highly likely scenario.
    Of course there might be some easier way to do this from the UWL/portal side. But I guess the standard way is the one that Armando described.
    Regards,
    Karri

  • When i compose a new message and am typing in the name of the person to send it to it says iMessage after their name but when i click it says "Bonjour (offline) "  my bonjour account isn't even enabled!? and it all used to work fine

    When i compose a new message and am typing in the name of the person to send it to it says iMessage after their name but when i click it says "Bonjour (offline) "  my bonjour account isn't even enabled!? and it all used to work fine please help!

    Hi,
    I invoked New Mesage
    I typed a Name in Manually (rather than using the blue + icon)
    I clicked on the "to" name and got this
    Uploaded with Skitch!
    I don't get a Bonjour Option here.
    I do get a Jabber ID showing up for them but for soem reason it does not list my "From" account.
    I would say that I have seen multiple "To"s and the same for the "From" choices and I think I have seen the Bonjour one listed.
    However the "To" And "From"s don't seem to match and it appears you can iMessage Jabber names/ID or Jabber AIM names (which you can't in either case)
    10:06 PM      Thursday; March 8, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Changing the name of the e-mail sender

    Hello guys,
    Whenever someone changes the status of a service request then Siebel sends an e-mail informing the customer of that the status has been changed. When the customer opens the inbox he will notice that the sender is "[email protected]"We have a new request where the customer would like to view a different sender name in which instead of viewing "[email protected]" he would view "Technical Support Center" along with the message. Is there a way to change the name of the sender? If so how?
    Regards,

    Just use
    "Technical Support Center" <[email protected]>
    and not only
    [email protected]
    when you configure the from field.

  • I have upgraded to OS X mavericks and there is now a problem with my email. I have discovered several emails no longer contain the original message instead another completely different message is appearing but under the name of original sender. Any ideas?

    I have upgraded to OS X mavericks and there is now a problem with my email. I have discovered several emails no longer contain the original message instead another completely different message is appearing but under the name of original sender. Any ideas?

    With the account mailbox selected, Mailbox menu, Rebuild.

  • E-mails from an email list used to be listed under "Sender" by the individual, but now the Sender is the name of the list and so: how can I go back to how it wa

    I belong to an email list. Until a few days ago, emails to this list arrive in my in-box with the Sender as the individual who sent the email. Now it simply says the name of the email list. This means that I can't know who has sent an email until, and if, the person signed her name at the bottom. I want to go back to the way it was.

    I have never had this problem and can't recreate it however Try this
    '''Open Thunderbird''' choose '''View''' from the menu bar select '''sort by''' and then choose '''From'''
    Answer 2 '''Open Thunderbird''' select '''Tools''' from the menu then '''Options''' select '''Advanced''' select the tab marked '''Reading and Display''' in the area marked '''Display''' there is a '''check box''' which says '''Show only display names for people in my address book'''.
    These may not be the solution let me know

  • When sending an email to multiply recipiants, using address autocompletion, all the address boxes convert to the name in the first box

    I use Thunderbird for my email. When sending an email to multiple recipients, I use autocompletion from my local address book. When I select an additional recipient, the name initially appears correctly in the address box. Each time I drop down to add another recipient, the names in each box all revert to the name in the first box. I've used Thunderbird for 2 years and this just started today. Also, the cursor and names in the address box appear now in red instead of black. Hopefully you can solve this problem.
    Thank you,
    bradoc

    There are some evil bugs in the current version of Thunderbird. You may find it works better if you click with the mouse, or move down with the arrow keys and click or use tab. IIRC, there's an issue with use of the Enter key. Or maybe the other way round ; please experiment. It's one of those frustrating bugs that seems to affect everyone but me.
    You can download older versions here:
    https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/
    I believe 31.2.0 is free of this particular issue. 24.6 seems to be a popular choice for those who dislike recent changes in the Composition window UI.

  • How do I change the download files to be the name of the sending file and NOT View Attachment?

    See above question, when I click download the name of the vile appears as view attachment, NOT the original name or file type. Please help, getting very frustrated especially when downloading an e-mail with severall attachments

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • Auto saving email attachments using date email received as the name of the attachment file

    I would like to be able to batch save hundreds of email attachments in my inbox to a specified folder and use the date and time email was received as the name of the file.  i found sample script that would give it timestamp but would prefer date and time of receipt.  any help would be greatly appreciated.
    thanks.

    I found the below script online but it does not seem to be naming correctly.  it appears that the month always defaults to 12.  perhaps somehow could suggest a fix?
    set theAttachmentPath to (path to desktop) as text
    tell application "Mail"
              set a to selection
    end tell
    repeat with s in a
              tell application "Mail"
                        set current_date to date received of s
                        set CurrentSender to sender of s
              end tell
              set current_date to AppleScriptDateToString(current_date)
              tell application "Mail" to set Attached to mail attachments of s
              repeat with ThisAttach in Attached
                        tell application "Mail" to set FileName to name of ThisAttach
                        if FileName ends with ".pdf" then
                                  set FileName to current_date & " from " & CurrentSender & ".pdf" as text
                                  set FileName to checknamewith_pdfsuffix(FileName, theAttachmentPath, false)
                                  tell application "Mail" to save ThisAttach in theAttachmentPath & (FileName)
                        end if
              end repeat
    end repeat
    on AppleScriptDateToString(a)
              set b to current date
              set monthnames to {}
              repeat with i from 1 to 12
                        set month of b to i
                        set monthnames to monthnames & {(month of b) as text}
              end repeat
              set Y to (year of b)
              set M to 0
              repeat with t in monthnames
                        set M to M + 1
                        if t as text = (month of b) as text then
                                  exit repeat
                        end if
              end repeat
              set M to Twodigits(M)
              set D to Twodigits(day of b)
              set hh to Twodigits(hours of b)
              set mm to (minutes of b)
              set ss to Twodigits(seconds of b)
              return Y & "-" & M & "-" & D as text
    end AppleScriptDateToString
    on Twodigits(a)
              return (characters -2 through -1 of (("0" & a) as text)) as text
    end Twodigits
    on checknamewith_pdfsuffix(n, D, looped)
              tell application "Finder"
                        set thefiles to name of every item of (D as alias)
              end tell
              if thefiles contains n then
                        if looped = false then
                                  set n to ((characters 1 through -5 of n) & " 1" & (characters -4 through -1 of n)) as text
      checknamewith_pdfsuffix(n, D, true)
                        else
                                  set tmp to (last word of ((characters 1 through -5 of n) as text) as integer)
                                  set tmpcount to (count of characters of (tmp as text)) + 5
                                  set tmp to tmp + 1
                                  set n to ((characters 1 through (-1 * tmpcount) of n) & tmp & (characters -4 through -1 of n)) as text
      checknamewith_pdfsuffix(n, D, true)
                        end if
              else
                        return n
              end if
    end checknamewith_pdfsuffix

Maybe you are looking for

  • Re : data source for customers

    Hi all, I have a doubt regarding the customers cube  0sd_c01 loading. I have the data sources 0customer_attr, 0customer_text,. for loading the customer master data. I can extract the data from R/3 using these data sources. But what is the need of 2LI

  • Migration Assistant using 'external' HD

    I have a new MacBook Pro (late 2011). The previous MacBook would not boot up. However, I've removed the internal drive and it mounts on the new machine. When I tried to use Migration Assistant it spent two days "looking for applications and documents

  • How to transfer LR from PC to Mac

    How to transfer LR from PC to Mac?

  • No Hyperv Virtuals get DHCP address - but Physical Host Can

    HyperV Server 2012 Core on a dedicated machine on local domain. Machine connected directly into local network that has a DC running DHCP. None of the VM's can get a DHCP Address from the server. Even if i set static addresses still they cannot route

  • Follow-on documents from Auction to backend system (R/3)

    Could somebody help us to configure the follow-on documents (Purchase order and Contract) from Live Auction (SRM Server 5.5) to backend system (R/3 4.6C)? We are using the classic scenario in (SRM Server 5.5). Thank you very much