Line 2 tells Mail to look for a signature called “Signature #1”: this can be a rich text signature, and you can get its name by opening Mail’s Preferences and looking for it in the Signatures tab. It was easy enough to look up Mail’s AppleScript dictionary and put the pieces together after knowing where to look. Set sender of theOutgoingMessage to "Federico Viticci " Set message signature of theOutgoingMessage to signature theSignatureName Set theOutgoingMessage to reply theMessage with opening window Set theMessage to first item of theMessages Set theMessages to the selected messages of the front message viewer It may be out of fashion among the cool kids (like email, I guess), but AppleScript allows us to start a reply to the selected message, set a signature, and a specific sender. Thankfully, Apple hasn’t forgotten about AppleScript, and neither has Mail.app. That seemed like a good starting point to build the macro I was looking for. I was inspired by this old post by Shawn Blanc (he solves a different problem than mine) to fire up Keyboard Maestro and start playing around with actions thanks to Shawn’s post, I remembered that Keyboard Maestro’s keyboard shortcuts are intercepted by OS X before the system ones – which means, if I were to use the same ⌘R shortcut that Mail uses but I assigned it to my custom action, OS X would launch my action first (instead of the default Mail one). I don’t want to click on menus for accounts and signatures: I want to hit ⌘R and receive a new Reply window with the account and signature I want already set. Apple’s Mail app makes it easy to see all messages sent to all accounts with the unified Inbox, but it makes it surprisingly hard to set default accounts and signatures that should always be treated as, well, default ones. In May, in my coverage of Keyboard Maestro 5.3 I shared a macro to combine two iPhone screenshots in a single image through a keystroke: For iPhone apps, I like to take two screenshots, place them side by side, and generate a single image. It was initially added to our database on. The latest version of ASTRO Command Center is 1.0.170, released on. It was checked for updates 31 times by the users of our client application UpdateStar during the last month. I receive several messages every day to different email addresses, but I always want to reply with the same address and the same signature. ASTRO Command Center is a Shareware software in the category Miscellaneous developed by Astro Gaming. As you can guess, I came up with a way to automate the process using AppleScript and (optionally) Keyboard Maestro. But there is one thing I don’t like: Apple’s Mail app and how many clicks it takes to switch between configured accounts and signatures. I have multiple addresses set up, I have my filters and smart folders to automate the process of filing and finding emails, and I’m enjoying the renewed interest of iOS developers in building email apps that solve old problems in new ways. I’m aware of the fact that it’s a common trend to call email a “nightmare” these days, but the truth is – email works for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |