• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bug introduced in Mail after Safari 5 install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Bug introduced in Mail after Safari 5 install
      • From: Deivy Marck Petrescu <email@hidden>
    • Re: Bug introduced in Mail after Safari 5 install
      • From: Axel Luttgens <email@hidden>
    • Re: Bug introduced in Mail after Safari 5 install
      • From: Tommy Bollman <email@hidden>
    • Re: Bug introduced in Mail after Safari 5 install
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Filemaker and Database events
  • Next by Date: Re: Filemaker and Database events
  • Previous by thread: Re: Why don't bundled applets have a bundle ID?
  • Next by thread: Re: Bug introduced in Mail after Safari 5 install
  • Index(es):
    • Date
    • Thread