Revision: 6692
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6692&view=rev
Author:   hofman
Date:     2010-08-10 23:46:43 +0000 (Tue, 10 Aug 2010)

Log Message:
-----------
all supported email clients have a visible flag, so make sure it's set

Modified Paths:
--------------
    trunk/SKMainDocument.m

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2010-08-10 23:16:37 UTC (rev 6691)
+++ trunk/SKMainDocument.m      2010-08-10 23:46:43 UTC (rev 6692)
@@ -1072,7 +1072,7 @@
     if ([mailAppName rangeOfString:@"Entourage" 
options:NSCaseInsensitiveSearch].length) {
         scriptFormat = @"tell application \"Microsoft Entourage\"\n"
                        @"activate\n"
-                       @"set m to make new draft window with properties 
{subject:\"%...@\"}\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"
@@ -1080,7 +1080,7 @@
     } else if ([mailAppName rangeOfString:@"Mailsmith" 
options:NSCaseInsensitiveSearch].length) {
         scriptFormat = @"tell application \"Mailsmith\"\n"
                        @"activate\n"
-                       @"set m to make new message window with properties 
{subject:\"%...@\"}\n"
+                       @"set m to make new message window with properties 
{subject:\"%...@\", visible:true}\n"
                        @"tell m\n"
                        @"make new enclosure with properties {file:POSIX file 
\"%...@\"}\n"
                        @"end tell\n"
@@ -1088,9 +1088,9 @@
     } else if ([mailAppName rangeOfString:@"Mailplane" 
options:NSCaseInsensitiveSearch].length) {
         scriptFormat = @"tell application \"Mailplane\"\n"
                        @"activate\n"
-                       @"set m to make new outgoing message with properties 
{subject: \"%...@\", visible:true}\n"
+                       @"set m to make new outgoing message with properties 
{subject:\"%...@\", visible:true}\n"
                        @"tell m\n"
-                       @"make new mail attachment with properties {path: 
\"%...@\"}\n"
+                       @"make new mail attachment with properties 
{path:\"%...@\"}\n"
                        @"end tell\n"
                        @"end tell\n";
     } else {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to