Re: How can I open attachment in Mail ?
Re: How can I open attachment in Mail ?
- Subject: Re: How can I open attachment in Mail ?
- From: Philip Aker <email@hidden>
- Date: Thu, 26 Oct 2006 07:51:05 -0700
On 2006-10-24, at 17:10:32, kai wrote:
The fairest test would surely be that which most closely simulates
the conditions under which the script will ultimately be run. If
the intention is to eventually use it in terminal, via whatever,
then testing in that environment would make sense. However, since
the original script was explicitly intended to be invoked from a
Mail "Run AppleScript" rule, the comparison that I used seems (to
me, at any rate) fair enough.
"Run Applescript" is a bit of a misnomer. Although I had not realized
it was possible until now, Mail will run any OSA compliant script in
this situation. This means that for the OSA languages I support, it
will be possible to pass the input arguments to scripts in LuaOSA,
PerlOSA, PHPOSA, PythonOSA, RubyOSA, ShOSA, and TclOSA. As to whether
or not the individual language can handle them, that's another story.
I'm reasonably certain Hamish Sanderson's appscript for Ruby or
Python could make a go of it though. As can Tcl. I will have to do
some serious thinking about the implementation and it will probably
take a while. Then we'll have that little speed test.
Philip Aker
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/mailman//archives/applescript-users
This email sent to email@hidden