Giter Site home page Giter Site logo

stacksjb / applescripts Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 22 KB

A simple Applescript to forward the currently selected email message in Mac Mail and then Delete it. I use this to forward emails to Todoist as an Alfred action.

License: The Unlicense

AppleScript 100.00%

applescripts's Introduction

A repository for several simple scripts I have for various things.

Mail-Forward-AppleScript

A simple Applescript to forward the currently selected email message(s) from Mac Mail and then delete them.

I use this to forward emails to Todoist as an Alfred action.

Configuration

  • Create a workflow to execute the script (such as Alfred Run NSAppleScript)
  • Edit the workflow to contain your parameters\
    • Set the destination user under "set recipient address" and "msgrecipient"
    • Set msgSender to your "From" address on your email account

Usage

  • While message(s) is/are selected within Mac Mail, run the script.
  • They will be forwarded and set to the recipient email, then deleted.
    • If you don't want message deleted, you can remove the "delete current_Message" section

Credits

Thanks to MacScripter and StackOverflow

applescripts's People

Contributors

stacksjb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.