Bug introduced in Mail after Safari 5 install
Bug introduced in Mail after Safari 5 install
- Subject: Bug introduced in Mail after Safari 5 install
- From: Brooks Bell <email@hidden>
- Date: Fri, 11 Jun 2010 18:44:57 -0700
- Thread-topic: Bug introduced in Mail after Safari 5 install
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