• 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
Re: GUI Scripting in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI Scripting in Mail


  • Subject: Re: GUI Scripting in Mail
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 21 Jan 2013 08:42:37 -0600

Re: "GUI Scripting in Mail", "selection bug in Finder" and "Mail preferences in Mt Lion".

I've solved all the problems in my script with four lines of code:
1, 2, & 3: Thanks Yvan and Chris!

4. My previous code for opening an external message file in Mail was:

tell application "Mail"
open msgAlias

but this fails in Mt Lion. (The message window opens, but it will not load the data.)
My new code is:

tell application "Finder" to open msgAlias using application file id "com.apple.mail"
tell application "Mail"

which works in both Lion and Mt Lion.

Then there is that bug in Mail where message windows
forget the user's preferred window bounds when Print is used.
I've reported this to Apple (Bug ID# 13049184).


 _______________________________________________
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: GUI Scripting in Mail
      • From: Shane Stanley <email@hidden>
References: 
 >GUI Scripting in Mail (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Anyway to update Mail.app Rules in Applescript?
  • Next by Date: Default Mail Reader parameter in Apple Mail?
  • Previous by thread: Re: GUI Scripting in Mail
  • Next by thread: Re: GUI Scripting in Mail
  • Index(es):
    • Date
    • Thread