Re: Bug introduced in Mail after Safari 5 install
Re: Bug introduced in Mail after Safari 5 install
- Subject: Re: Bug introduced in Mail after Safari 5 install
- From: Jay Louvion <email@hidden>
- Date: Sat, 12 Jun 2010 11:23:50 +0200
- Thread-topic: Bug introduced in Mail after Safari 5 install
Title: Re: Bug introduced in Mail after Safari 5 install
My five cents does not concern applescript directly, but I have noticed that pdf attachments in Mail now open in Textedit pdf-code jumble, especially if the extension was not visible.
I imagine this might be related to the Safari 5 upgrade.
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
www.studiocasagrande.com
P Please consider the environment before printing this email.
On 12.06.2010 11:17, "Tommy Bollman" <email@hidden> spake thus:
On 12. juni 2010, at 03.44, Brooks Bell wrote:
>
> Our application uses AppleScript to tell Mail to create a message with an
> attachment. After installing Safari 5 users are reporting that the content
> text area of the outgoing message has a black background. This doesn't
> contrast very well with the black text.
>
> Below is a script that demonstrates the problem. As I workaround I tried
> inserting this line:
> set background color of newMessage to none
> But it doesn't run. Any advice is appreciated.
>
>
> tell application "Mail"
> set addressvar to "email@hidden"
> set subjectvar to "Test Subject"
> set contentVar to "This is the content"
> set attachmentVar to "%@"
> set saveAsDrafts to true
> set singleJob to true
> set newMessage to make new outgoing message
> tell newMessage
> set visible to singleJob
> make new to recipient with properties {address:addressvar}
> set subject to subjectvar
> set content to contentVar
> tell content
> make new attachment with properties {file name:attachmentVar} at
> after the last paragraph
> end tell
> if singleJob is equal to 1 then
> activate
> else
> if saveAsDrafts is equal to 0 then
> send newMessage
> else
> save newMessage as "draft"
> close newMessage
> end if
> end if
> end tell
> end tell
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
This is really interesting, I'm having some other issues, which may not be related, but showed up after having upgraded to Safari 5.
I attached some files and sent them back to my self: My attachments became invisible. An AppleScript showed that they still were there.
The files were attached to an rtf mail. I suspected at first the IMAP server, or some mail plugin to scrub off the attachment.
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
Mollison's Bureaucracy Hypothesis:
If an idea can survive a bureaucratic review
and be implemented it wasn't worth doing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden