Mail signature with fortunes

hi, everyone!
i want to add a random signature everytime i compose a new mail. this signature should be generated with the stdout put from the good old comand line tool 'fortune'.
i've already written an applescript that will do that but i don't want to execute the script everytime i want to write a new mail instead this should be done automatically evertime i hit compose mail.
i didn't found a solution yet and when i search for 'random signature' they always come up with the functionality to choose a random signature of all available sigantures... a bad solution might be to create 1000 signatures
have anyone of you an idea to realize that - with or without applescript?!
thx

first, you don't need the extra action to add attachments. if you drop some items on the saved application they will be passed to the "new Mail message" action as input and will be added as attachments. also, in my testing it seems that the processes of attaching the attachments seem to bump against the process of adding the signature. it get the same result as you originally but if I add a delay to the run applescript action then it works as it should so try
1. new mail message.
2. run applescript
on run {input, parameters}
delay 1
tell application "Mail"
set the message signature of (item 1 of input) to signature "My Signature Name"
end tell
return input
end run

Similar Messages

  • Making mail signatures with hyperlinks

    Hi, I want to make a simple email signature which has a link to my website which the recipient can click on and my email address which when clicked launches an email.
    I can set this up via hyperlink ok. However when people reply my signature the link to our site gets messed around :
    Oliver Gray
    Director
    We've moved - new address below
    White Night Films Limited
    The Print House, 18 Ashwin Street, London, E8 3DL.
    Office : +44 (0)20 8090 9326
    Mobile : +44 (0)7976912306
    Email : [email protected]
    www.whitenightfilms.com <http://www.whitenightfilms.com> <http://www.whitenightfilms.com> <http://www.whitenightfilms.com/>
    How can I correct it?
    Also I have an iMac running 10.5.7 and I want to add hyperlinks to my mail signatures in that. How do I do it?>
    Many thanks!
    Oliver

    Hi Oliver,
    One way I understand is with this...
    http://www.apple.com/downloads/macosx/email_chat/directmail.html
    To do it yourself, IIRC you have to do it in HTML, some help here...
    http://allforces.com/2006/04/14/css-signatures/

  • MACBook Pro mail signature with logo

    Any idea how to get the apple logo on a mail signature on my macbook pro? I cannot seem to do this!!

    You can use the Mail app to add a signature and logo to any of your accounts.
    Web based email can't use signatures at this time.
    Google for instructions and the stuff you'll need to create a signature.

  • Set Mail Signature with Run AppleScript Action inside an Automator workflow

    Hello,
    Not sure if I am posting this at the right spot, but I would need some assistance. I am trying to write an Automator Workflow application. The purpose for this application is to:
    1. Drag one or more attachments on the application/droplet icon
    2. Automator workflow creates a new mail message in Mail with the attached items already addressed and ready to go to
    I setup the following Workflow inside Automator:
    1. New Mail Message
    2. Add Attachments to Front Message
    So this is all working just fine. Now I would like to add a step in between of type "Run AppleScript". In this "Run AppleScript" action I have the following code:
    on run {input, parameters}
    tell application "Mail"
    set the message signature of input to signature "My Signature Name"
    end tell
    return input
    end run
    So my workflow looks now like this:
    1. New Mail Message
    2. Run AppleScript
    3. Add Attachments to Front Message
    I am getting the following error:
    Can’t make «class situ» "My Signature Name" of application "Mail" into the expected type.
    So, in essence I am trying to select a signature for that particular new mail message in this workflow. And that does not work. Any help would be appreciated.
    Martin

    first, you don't need the extra action to add attachments. if you drop some items on the saved application they will be passed to the "new Mail message" action as input and will be added as attachments. also, in my testing it seems that the processes of attaching the attachments seem to bump against the process of adding the signature. it get the same result as you originally but if I add a delay to the run applescript action then it works as it should so try
    1. new mail message.
    2. run applescript
    on run {input, parameters}
    delay 1
    tell application "Mail"
    set the message signature of (item 1 of input) to signature "My Signature Name"
    end tell
    return input
    end run

  • How can I create an HTML Mail signature?

    I've spent the evening searching for a way to create an HTML Mail signature with no luck.  My problem is that when I create a new signature in Mail and close mail I try the following:
    1.  Create an HTML signature in Dreamweaver CS6
    2.  Open it in Safari &amp; save it as a .webarchive to the desktop &amp; close Safari &amp; Dreamweaver
    3.  Open the signature folder (through Finder) and copy the Mail generated name (.mailsignature or it could be .signaturemail - can't remember) &amp; delete the file
    4.  Click on the .webarchive and replace the name with the .mailsignature
    5.  Copy the new .mailsignature file &amp; paste it to the signature file
    6.  Open mail and try to use the signature
    7.  NOT WORKING
    THANK YOU IN ADVANCE FOR ANY SUGGESTIONS!
    PS  I use iCloud if that makes any difference.

    This tutorial is great!
    http://mydesignpad.com/create-a-complex-html-email-signature-for-mail-on-mac-os- x-10-9-mavericks

  • Image in Mail Mail signature is pixelated. How can this be fixed?

    Hi there,
    When I create a mail signature with image (72 dpi) in Mac Mail, the sent image looks very pixelated to the recipient. When I use a higher res image (150 dpi), it looks clear but then the image is huge to the recipient. To try and solve this issue, I have created an HTML signature and image looks fine, but since I have to impletment this across a large organization, having to go in and alter everyone's mail settings is not an option.
    Does anybody know why this happens?
    Many thanks!

    If you are asking how, while creating a email message, can you switch from the current outgoing email email message and look up a previous email to reference a line to include in the outgoing email without having to "save as draft or cancel" and the go back to the email message I am creating, this is my problem too. If the is not what you meant, consider this a new topic as I did not find an answer without going 10 pages deep in "topics".
    Thanks
    SK

  • E-signature with photo goes out as an attachment

    I am very new to MacBook. I recently created e-mail signature with a photo. When an e-mail is sent to Mac, it shows the signature with a photo in the body of the text and also shows the signature as an attachment. But when the same e-mail is sent to PC, the signature with a photo shows only as an attachment. It creates a problem since recipient has to open the attachment to read the signature.
    Is there any way to send email signature with a photo not as an attachment?
    Thank you in advance for your kind assistance.

    Apple Mail encrypts messages differently than the rest of the Pack.
    It embeds Attachments into the body of the message.
    Everyone else Attaches it separate from the body.
    To comply, Mail (I think) complies with both.
    And when .Mac subscriber emails other .Mac subscriber,
    they both use Apple's system, when Gmail-er emails Yahoo-er
    or .Mac-er emails Gmail-er Mail attaches it both ways.

  • Mountain Lion problems with Mail Signatures, Pages, Numbers, Keynote - This quick fix solved all my problems with these. Pages etc wouldn't launch and needed to be force quitted. Mail signature changes wouldn't save.

    The solution was simple in my case. I don't know why it worked and it may have been entirely coincidental but its worth a try.
    Close all applications and restart Mountain Lion.
    Log in as Guest. I opened Pages at this point but I don't know if that's required.
    Log out and then back in as your normal user.
    Pages, Numbers and Keynote now were fine for me and Mail signature changes were saved and available for later use.
    For those trying to edit the signatures to get their old ones back - I just found an old sent mail and copied the signature there into the newly created one via the normal preferences. No need for opening .mailsignature files and editing them. This included various colours, sizes, an image and a link with no problems.
    I hope this helps anyone having some of these problems.

    The solution was simple in my case. I don't know why it worked and it may have been entirely coincidental but its worth a try.
    Close all applications and restart Mountain Lion.
    Log in as Guest. I opened Pages at this point but I don't know if that's required.
    Log out and then back in as your normal user.
    Pages, Numbers and Keynote now were fine for me and Mail signature changes were saved and available for later use.
    For those trying to edit the signatures to get their old ones back - I just found an old sent mail and copied the signature there into the newly created one via the normal preferences. No need for opening .mailsignature files and editing them. This included various colours, sizes, an image and a link with no problems.
    I hope this helps anyone having some of these problems.

  • Can i use an html signature with mail in SL?

    my company uses a standard html signature. is there a way that i can use it with mail app? how do i do that?

    you can create a signature in mail preferences->signatures. the editing tools there are very basic but if your company's signature is not too fancy you might be able to recreate it. if that's not good enough, the only way around that i know is a the following hack
    create a dummy signature in mail preferences->signatures. then go to the directory /users/username/library/mail/signatures and locate the webarchive with your signature. then make an html file using your favorite html editor. put whatever you need in it. save it and open it in safari. then save it as a webarchive from safari and overwrite the dummy signature you made with that webarchive.

  • [Mail] Replacing a signature with a text in the plain text alternative..?

    Hi all.
    I just created a signature for Mail. All is good, I created it in HTML and adapted it accordingly. The issue is, I have my name on it in a sort of logotype so I'm not typing my name explicitly in any email. Now, if the application settings of the other party is set to display emails in plain text format, the plain text alternative of the email will naturally omit the signature thus my name.
    Is there any chance I can make it replace the signature with my name for the plain text version? I tried using the 'alt' attribute in the 'object', 'div' and 'img' tags, CDATA and some other tricks but no luck yet. Hope someone has an experience in this subject that has resulted in success...
    Thanks in advance.

    If you open a HTML document in a text editor (not TextEdit), you will see stuff like:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title>Untitled</title>
    <meta name="generator" content="BBEdit 6.5.3" />
    </head>
    <body>
    </body>
    </html>
    The part that you need to keep is just the anchor tag:
    It depends on how the document is saved, so if an application includes the headers (you can't really tell by just looking at the rendered document), you need to manually remove them. I use BBEdit to create a HTML file with just the anchor tag, so I don't have to worry about what an application is going to copy it as.

  • How do i add a LinkedIn badge to Apple Mail signature

    Does someone know how to add popular badges (LinkedIn, Facebook, Twitter) to Apple Mail signatures.  Just badge icon with a hyperlink to my profile.

    Actually I just figured it out.  Within your public profile on LinkedIn is an area for LinkedIn badges on right side.  Click there and it will display several types of badges.  Right click on the badge you want to use and do a "save as" to desktop. 
    Now go into Mail preferences, signatures.  Copy and paste the icon you've saved to your desktop wherever you would like the badge to display within your signature.  Then go to Edit on top menu and select "add link".  This will open a box where you need to fill in your LinkedIn address that displays right below your profile photo.  Save this.
    This will turn the badge into a hyperlink that will connect to your LinkedIn Profile.  To test it, create a new email using this signature and do a test send.  When you receive the test email click on the badge to confirm that it takes you to your LinkedIn Profile.
    Good luck!

  • How do I add an email signature with graphic (logo)?

    On my iPhone 5 Im trying to add an email signature with logo to my email account.

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access web mail, you need to seek support from your service provider or a forum for that service.
    If your problem is with Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/]
    or this one
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • It seems cranky sometimes works, somtimes not.  My other issue - is there a way to create a mail signature using the font I use in Outlook (or can I import that signature)?

    I have a new iPhone 4s - having lots of trouble with Siri.  It seems cranky - sometimes works, somtimes not.  My other issue - is there a way to create a mail signature using the font I use in Outlook (or can I import that signature)?  How can I find fonts availble on my phone?
    Thanks for any help

    Not in Acrobat unless your image is already in the PDF format.
    This is a feature of forms created with LiveCycle Designer.

  • Is it possible to include the device name in an e-mail signature?

    Greetings,
    I am currently managing 150 iPads we have deployed in our school system.  The iPads are on carts of 30 which are moved from classroom to classroom as needed. For student work I have set up Dropbox and it has been working fine.  However, a few teachers requested the iPads be set up with e-mail which can be used to prevent filling up our Dropbox space.  I have successfully done this using a shared Exchange e-mail address between all the devices.  However, this has begun to cause some minor issues as the students can send an e-mail essentually anonymously from any of the iPads.  We are trying to avoid creating e-mail accounts for all the students or iPads and I figured the easiest way to do this would be to add the device name to the e-mail signature.  After searching for a while I have not come up with a yes or no as to whether this is possible or not.  If it is not, are there any other solutions that don't involve a lot of work after reimaging the devices.  Thanks in advance!
    ~Cameron

    You can set the signature for an email to be anything you want it to be. Go to the Mail, Contacts, Calendars setting and go to the Signatures area. There is however no way I know of to lock this setting, so the students can just remove the device name if they know about the setting. I also don't know if there's a way to automate the configuration so you don't have to do this manually on each iPad. Perhaps someone else here will know.
    Regards.

  • How do I change line spacing in a Mail signature?  Where's the formatting menu?

    I want to reduce double-spacing in my Mail signature to single spacing so it's more compact and doesn't take up all kinds of vertical space (more than the email itself--I've had recipients complain about this--and it's a business email).  I have a logo (.png) in the signature that I've been using with no problem.  I have text above and below the logo.  It's just too widely spaced.  Surely there must be a formatting menu that I can use to shrink the line spacing in Mail Signatures?  Or elsewhere, then reimport and have the formatting stick?  This is a pretty basic feature for an email client to offer.  Is there a simple solution to this?

    Since it's a windoze app, ask at http://answers.microsoft.com/

Maybe you are looking for

  • Problem with DB in struts app

    Hi, I have made a struts app to get data from mysql DB i am getting follwoing erer java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGet

  • Audio connections to receiver?

    Can I keep the AppleTV hdmi connection directly to the TV while using red/white audio cables to connect to my receiver for surround sound? It's an older receiver--not sure it has hdmi connectivity. Would this type of connection cause any problems?

  • New Bluetooth Mightymouse goes crazy on certain mouse pads

    I just bought a new wireless Mightmouse from Amazon UK and started using it, only to discover that it goes crazy when placed on certain mouse pads. The cursor starts moving all over the screen if I even place the mouse on the pad without moving it. I

  • Quarterly Return - Text file generation

    Hi While generating the text file in the Quarterly return for TDS, I see that there are lot of ^s and 0s in addition to the data items.  Is it the standard set or there should be only figures and data ? (I mean to ask there should not be any ^s and 0

  • Bridge - photoshop

    Hi, is Bridge included in photoshop cs 6 when I bye it, or do I have to bye it seperatly ?