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: kai <email@hidden>
- Date: Thu, 26 Oct 2006 19:14:07 +0100
On 26 Oct 2006, at 15:51, Philip Aker wrote:
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.
I imagine the OP will be on tenterhooks.
---
kai
_______________________________________________
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