aboutsummaryrefslogtreecommitdiffstats
path: root/Troublegun.app/Contents/Resources/entourage.scpt
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-02-02 11:47:15 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-02-02 11:47:15 +0200
commit07edebe011f3a17d0113e4f34b537e9e3e725a2a (patch)
treecda107656b2fe6d204bb15fcc70cc67616541425 /Troublegun.app/Contents/Resources/entourage.scpt
downloadTroublegun-07edebe011f3a17d0113e4f34b537e9e3e725a2a.tar.gz
Troublegun-07edebe011f3a17d0113e4f34b537e9e3e725a2a.tar.bz2
Troublegun-07edebe011f3a17d0113e4f34b537e9e3e725a2a.zip
Initial commit
Diffstat (limited to 'Troublegun.app/Contents/Resources/entourage.scpt')
-rw-r--r--Troublegun.app/Contents/Resources/entourage.scpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Troublegun.app/Contents/Resources/entourage.scpt b/Troublegun.app/Contents/Resources/entourage.scpt
new file mode 100644
index 0000000..b893a61
--- /dev/null
+++ b/Troublegun.app/Contents/Resources/entourage.scpt
@@ -0,0 +1,6 @@
+tell application "Microsoft Entourage"
+ set theRecipients to {{address:{display name:"%@", address:"%@"}, recipient type:to recipient}}
+ set theMessage to make new outgoing message with properties {recipient:theRecipients, subject:"%@", attachment:{file:(POSIX file "%@")}}
+ open theMessage
+ activate
+end tell