Revision: 7275 http://skim-app.svn.sourceforge.net/skim-app/?rev=7275&view=rev Author: hofman Date: 2011-06-17 11:33:01 +0000 (Fri, 17 Jun 2011)
Log Message: ----------- Support email using Outlook. Hopefully the AppleScript support we use has not changed from Entourage, googling indicates that this should still be the same. Modified Paths: -------------- trunk/SKMainDocument.m Modified: trunk/SKMainDocument.m =================================================================== --- trunk/SKMainDocument.m 2011-06-17 11:27:39 UTC (rev 7274) +++ trunk/SKMainDocument.m 2011-06-17 11:33:01 UTC (rev 7275) @@ -1121,6 +1121,14 @@ @"make new attachment with properties {file:POSIX file \"%@\"}\n" @"end tell\n" @"end tell\n"; + } else if ([@"com.microsoft.outlook" isCaseInsensitiveEqual:mailAppID]) { + scriptFormat = @"tell application \"Microsoft Outlook\"\n" + @"activate\n" + @"set m to make new draft window with properties {subject:\"%@\", visible:true}\n" + @"tell m\n" + @"make new attachment with properties {file:POSIX file \"%@\"}\n" + @"end tell\n" + @"end tell\n"; } else if ([@"com.barebones.mailsmith" isCaseInsensitiveEqual:mailAppID]) { scriptFormat = @"tell application \"Mailsmith\"\n" @"activate\n" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit