Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

grab the account of the selected message(s), no more hardcoded account

  • Loading branch information...
commit 16467c2473541a6296943d1a7d96d3269e262b9d 1 parent c141853
@pfig authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  MailArchive.applescript
View
2  MailArchive.applescript
@@ -5,7 +5,7 @@ using terms from application "Mail"
set msgAccount to name of account of mailbox of thisMessage
set msgMailbox to name of mailbox of thisMessage
set mboxName to "Archive"
- tell account "personal"
+ tell account msgAccount
try
set mbox to mailbox named mboxName
get name of mbox
Please sign in to comment.
Something went wrong with that request. Please try again.