Skip to content

Instantly share code, notes, and snippets.

@fixlr
Created April 28, 2011 14:28
Show Gist options
  • Save fixlr/946451 to your computer and use it in GitHub Desktop.
Save fixlr/946451 to your computer and use it in GitHub Desktop.
AppleScript that I use to make Mail.app suck less.
tell application "Mail"
set theSelectedMessages to selection
repeat with theMessage in theSelectedMessages
set theMailbox to "All Mail"
tell application "Mail"
move the theMessage to mailbox theMailbox
end tell
end repeat
end tell
@fixlr
Copy link
Author

fixlr commented Apr 28, 2011

I keep it in ~/Library/Mail/Mail\ Scripts/ and use Alfred to trigger it when a specific combination of keys are pressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment