• 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: Mail.app: How can I configure replied message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app: How can I configure replied message


  • Subject: Re: Mail.app: How can I configure replied message
  • From: Taichi Matsumoto <email@hidden>
  • Date: Thu, 8 Jul 2010 22:42:41 +0900

Hi, Axel

Thank you for being so thoughtful.

All machines are kept up to date, so Safari 5 is installed.
And WebKit version is 6533 on macbook (used at home), I'll check
others tomorrow.
But I think it seems not to be related to this issue.

> That said, I noticed that your snippet works more reliably OMM when Mail is active:
Yes!! This works great for this issue!
When I activate before tell Mail.app to reply mail,
no delay commands are needed.So it is more elegant approach , I think.

As the result, following snippet works find for my all environments.
---
on run
   tell application "Mail"
   	activate
   	set last_msg to the first message of sent mailbox
	set reply_msg to reply last_msg with opening window
	tell reply_msg
	     set subject to "replied"
	     set content to "this is replied message"
	end tell
   end tell
end run
---

And activation is also efficient as using py-appscript (I'm using it
instead of applescript directly)
Anyway thanks again, my problem seems to be resolved!

--------------------------------------------------------------------------------
    Matsumoto Taichi: email@hidden
--------------------------------------------------------------------------------


2010/7/8 Axel Luttgens <email@hidden>:
> Le 8 juil. 2010 à 00:10:34, Taichi Matsumoto a écrit :
>
>> Hi, Axel
>>
>> Thank you for your response.
>>
>>> If you're using only 10.6.4/4.3, what are those differing environments?
>> That's point I'm stucked. I have tested the script on 4 machines and
>> it worked on 1 macbook, didn't work on 3 iMac.
>> On all of machines, OSX 10.6.4 and Mail 4.3 are installed.
>
> Hello Taichi,
>
> I asked because the installation of Safari 5 came with some problems; you may find more info in this thread:
>
>        http://lists.apple.com/archives/appleScript-Users/2010/Jun/msg00105.html
>
> as well as in this message posted by Michelle:
>
>        http://lists.apple.com/archives/appleScript-Users/2010/Jun/msg00208.html
>
> Since all machines are with 10.6.4, they should have all been upgraded with Safari 5 as well (included in the 10.6.4 update).
> Anyway, perhaps could you compare the webkit versions on those machines (About this Mac / More info... / Frameworks)?
>
> That said, I noticed that your snippet works more reliably OMM when Mail is active:
>
>        on run
>                tell application "Mail"
>                        activate
>                        [...]
>                end tell
>        end run
>
> That, possibly in combination with Takaaki's suggestion to introduce some delay, may be of some help for you too.
>
>
>> Is there any other component related to the script ?
>
> The usual suspects perhaps: some "foreign" ScriptingAdditions?
>
> HTH,
> Axel
>
>
>  _______________________________________________
> 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

References: 
 >Mail.app: How can I configure replied message (From: Taichi Matsumoto <email@hidden>)
 >Re: Mail.app: How can I configure replied message (From: Axel Luttgens <email@hidden>)
 >Re: Mail.app: How can I configure replied message (From: Taichi Matsumoto <email@hidden>)
 >Re: Mail.app: How can I configure replied message (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Mail.app: How can I configure replied message
  • Next by Date: checking GUI action status
  • Previous by thread: Re: Mail.app: How can I configure replied message
  • Next by thread: Re: Mail.app: How can I configure replied message
  • Index(es):
    • Date
    • Thread