• 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: Yet another question?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yet another question?


  • Subject: Re: Yet another question?
  • From: Brian Christmas <email@hidden>
  • Date: Wed, 17 Feb 2016 09:08:49 +1100

OK, doesn’t seem that anyone knows an answer. So I’m trying too save the open message directly, but can’t get the terminology correct. Any help on this approach please? (nothing by Googling)

Regards

Santa

property pathtodesktop : path to desktop as text
property printDateTimeName : (current date) as text

tell application "Mail"
activate
open message 1 of inbox # mailbox "* items to manually process"
save window 1 in ((path to desktop) & printDateTimeName & ".eml" as rich text) as native format
try
close every window
end try
end tell

# from mail dictionary

# saveable file format enum
# native format : Native format

On 16 Feb 2016, at 9:09 PM, Brian Christmas <email@hidden> wrote:

G’day

I’ve bypassed my previous request on addressing an already opened second Application by storing its unique build number when setting the Accessibility, and then bypassing my ‘set-accessibility’ routine if the second apps build number matches.

But I’ve struck a weird problem. The Mail addressing script below runs in about a second in Applescript, but is taking 20+ seconds in my ASObjC application. Anyone know of a fix, please. I’ve addressed the window by 'window 1’, and also its name, no effect.

Regards

Santa


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Yet another question? (From: Brian Christmas <email@hidden>)

  • Prev by Date: Yet another question?
  • Next by Date: Re: Yet another question?
  • Previous by thread: Yet another question?
  • Next by thread: Re: Yet another question?
  • Index(es):
    • Date
    • Thread