----------
From: applescript-users-bounces+ngan_le=email@hidden on behalf of email@hidden
Reply To: email@hidden
Sent: Tuesday, September 14, 2004 9:10 AM
To: email@hidden
Subject: Applescript-users Digest, Vol 1, Issue 31
Send Applescript-users mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/applescript-users
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Applescript-users digest..."
Today's Topics:
1. Re: malacoda (John W. Baxter)
2. Re: Digital Sigs (was IS: ATTN: List Mom: Unnecessary smime
attachments) (Paul Berkowitz)
3. OT [Was: Digital Sigs] (Mark Smith)
4. Re: OT [Was: Digital Sigs] (Mark Smith)
5. Selected text in Mail.app? (Lorin Rivers)
6. Re: String to list conversion (Christopher Nebel)
7. Re: OT [Was: Digital Sigs] (Michelle Steiner)
8. Re: OT [Was: Digital Sigs] (John C. Welch)
9. Re: OT [Was: Digital Sigs] (Michelle Steiner)
10. Re: Poking an Idle Handler (Brian Johnson)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Sep 2004 08:01:26 -0700
From: "John W. Baxter" <email@hidden>
Subject: Re: malacoda
To: AppleScript-Users <email@hidden>
Message-ID: <BD6C55D6.16175%email@hidden>
Content-Type: text/plain; charset="US-ASCII"
On 9/13/2004 17:54, "Rob Jorgensen" <email@hidden> wrote:
> At 5:44 PM -0700 9/13/04, Paul Berkowitz wrote:
>> I just got 7 more "Returned mail: User unknown" bounce backs from
>> <email@hidden> , all at once. That makes about 123 altogether now.
>> This message I'm sending now will produce yet another.
>
> Likewise. I don't like the way this works - the bounces should go to
> the list server - not us.
Any correct generator of bounces WILL send the bounce to the list software,
not to the list.
The only correct address in a message to which to send bounces is the
Envelope sender (which isn't carried IN the message...it comes from the SMTP
command MAIL FROM:<email@hidden>
Your message came in with (in common with many but not all mail systems,
ours copies the Envelope sender into a Return-path header it adds to the
message).
Return-path:
<applescript-users-bounces+mylocalpart=email@hidden>
Any server which bounces the message back to the address in the From: header
is wrong. That doesn't make it any less annoying.
Note that the Envelope sender address is customized (and now
obfuscated)...the list software can work out what the subscribed address is
that is causing the problem. The old way, it was just the list, and finding
the actual subscribed address in the face of forwarding was very tricky or
impossible (depending on how much stuff is returned in a given bounce).
------------------------------
Message: 2
Date: Tue, 14 Sep 2004 08:11:38 -0700
From: Paul Berkowitz <email@hidden>
Subject: Re: Digital Sigs (was IS: ATTN: List Mom: Unnecessary smime
attachments)
To: AppleScript-Users <email@hidden>
Message-ID: <BD6C583A.737FF¾email@hidden>
Content-Type: text/plain; charset="US-ASCII"
On 9/14/04 7:49 AM, "John W. Baxter" <email@hidden> wrote:
> On 9/13/2004 17:30, "Sander Tekelenburg" <email@hidden> wrote:
>
>> Just all the more reason to go bug Steve Dorner about
>> this yet again ;)
>
> Not just Steve...the s/mime signatures on this list show up as attachments
> in Entourage X, too. From the list traffic, I gather the same is true of
> Entourage 2004. At least the way I use Entourage, they seem to go away when
> I trash the signed message (unlike the way I use Eudora, in which trashing
> attachments when trashing the underlying message is optional)
With Entourage 2004, it's some sort of configuration issue (bug?) of the
list server. Entourage 2004 reads and sends digital sigs. Surely you're not
expecting MS to "update" the previous version (v. X) with a brand new
feature that they built into their current version? No, you can't have meant
that.
>
> (I would update to Entourage 2004, but once again Entourage is only bundled,
> and I am unlikey to upgrade the whole Office (openOffice.org meets my needs
> at "slightly" less cost, and I have it running on the Mac, and both the
> Windows XP and Linux "sides" of the tired old IBM laptop).
Entourage X did not sell well on its own when they tried it out. But the
self-standing copy you have is still good enough for an upgrade price to the
while Office 2004 suite. I think you may be the first person I've heard of
who would like Entourage 2004 but not Word, Excel and PPT - which are all
now eminently SCRIPTABLE. Word 2004 has the surely the largest (and arguably
the oddest) AppleScript dictionary on earth. Is that not an incentive? Is
openOffice.org scriptable?
--
Paul Berkowitz
------------------------------
Message: 3
Date: Tue, 14 Sep 2004 17:26:59 +0200
From: Mark Smith <email@hidden>
Subject: OT [Was: Digital Sigs]
To: email@hidden
Message-ID:
<r02010300-1035-863E32C9066211D982E8000A95A0A64E@[10.0.1.2]>
Content-Type: text/plain; charset=US-ASCII
John W. Baxter wrote:
>the s/mime signatures on this list show up as attachments in Entourage X,
>too. From the list traffic, I gather the same is true of Entourage 2004.
IIRC somebody said that these were not attachments.
They ARE attachments (MIME parts).
In case anyone is interested...
Apple Mail, Thunderbird and Mulberry, if properly configured, can send and receive X509 certs as MIME parts. I don't think any other OS X clients can deal with this (X509 certs as MIME parts) (yet) [1].
Mulberry, Apple Mail and Entourage can do PGP/Mime (The full PGP8 plugin for Apple Mail and Entourage only comes with non-free versions of PGP8. Without the plug, you need (IIRC) to use) the system wide service provided by the PGP app (clunky but it works). I think PowerMail can do PGP/Mime via services too, but there is AFAIK no PGP8 plugin for PowerMail (correct me if I'm wrong).
IIRC GNUMail and Mulberry (and maybe Thunderbird ?) can also do GPG/Mime.
Mailsmith has integration with all "levels" of PGP8, but only does "inline" PGP sigs at the moment.
(I'd rather see the PGP/GPG model taking hold in mailing lists (if its really necessary at all) than the X509 model. (Fundamental differences) However Apple Mail's "plumping for X509" (which *may* be a consequence of Lookout using X509) has put a spanner in that one as far as "OS X lists" are concerned.)
mark.
[1] No idea about Eudora
------------------------------
Message: 4
Date: Tue, 14 Sep 2004 17:31:22 +0200
From: Mark Smith <email@hidden>
Subject: Re: OT [Was: Digital Sigs]
To: email@hidden
Message-ID:
<r02010300-1035-223109B9066311D982E8000A95A0A64E@[10.0.1.2]>
Content-Type: text/plain; charset=US-ASCII
I wrote:
>Apple Mail, Thunderbird and Mulberry, if properly configured, can send and
>receive X509 certs as MIME parts. I don't think any other OS X clients can
>deal with this (X509 certs as MIME parts) (yet) [1].
and *then* I read Paul's message...
>Entourage 2004 reads and sends digital sigs.
I'm assuming he means X509 certs. If so, it can be added to the list. (Entourage v.X did not AFAICR support X509.)
mark.
------------------------------
Message: 5
Date: Tue, 14 Sep 2004 10:43:03 -0500
From: Lorin Rivers <email@hidden>
Subject: Selected text in Mail.app?
To: AppleScript-Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Is it possible to get the contents of the current selection in Mail? I
can't figure it out...
In other words, something similar to what happens when you reply to a
message with some of the text selected.
Please CC me as I am on the digest.
--
Lorin Rivers
Marketing Professional
<mailto:email@hidden>
<http://homepage.mac.com/lrivers>
512/203.3198 (m) 408/580.8588 (f)
------------------------------
Message: 6
Date: Tue, 14 Sep 2004 08:45:17 -0700
From: Christopher Nebel <email@hidden>
Subject: Re: String to list conversion
To: AppleScript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Sep 14, 2004, at 7:58 AM, Paul Berkowitz wrote:
> On 9/13/04 11:13 PM, "Emmanuel" <email@hidden> wrote:
>
>> In case you're interested, you can script the AS formats with Smile.
>> In Smile, ASFormat 9 returns the list of the styles' names {"New
>> text", etc.} then ASFormat 1 is the style for "New text"
>> {font:"Courier", text size:12, style:{}, color:{0, 0, 0}} etc.
>
> Do you know where the default values for AS formats are stored?
As several people have already found, if you've customized the styles,
they're stored in ~/Library/Preferences/com.apple.applescript.plist.
If you haven't, the default default styles are actually hard-coded.
(Sort of. The font actually gets selected at run-time based on the
primary encoding, so folks have some hope of being able to type text in
their native language.) There's a bug open to change it to use a
resource, because some of the localizers aren't happy with the system's
choice of fonts. Hopefully, Smile is using the API to get the styles,
so it doesn't have to know where they're stored.
--Chris Nebel
AppleScript Engineering
------------------------------
Message: 7
Date: Tue, 14 Sep 2004 08:49:32 -0700
From: Michelle Steiner <email@hidden>
Subject: Re: OT [Was: Digital Sigs]
To: Applescript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=fixed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sep 14, 2004, at 8:26 AM, Mark Smith wrote:
> Mulberry, Apple Mail and Entourage can do PGP/Mime (The full PGP8
> plugin for Apple Mail and Entourage only comes with non-free versions
> of PGP8. Without the plug, you need (IIRC) to use) the system wide
> service provided by the PGP app (clunky but it works).
This is signed with PGP 8.0 (paid for), in line.
- -- Michelle
- --
Nobody ever procrastinated their way to the top.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1
Comment: To you from me, courtesy of PGP
iQA/AwUBQUcTDUX3pGKCIlLEEQIcmwCgn7AQ8mKX0XclS2MFCR63w2YNm3wAoPLz
1RuyObvJeQAdGJtRJ3cdKiLL
=0TJl
-----END PGP SIGNATURE-----
------------------------------
Message: 8
Date: Tue, 14 Sep 2004 10:50:56 -0500
From: "John C. Welch" <email@hidden>
Subject: Re: OT [Was: Digital Sigs]
To: "AppleScript User's List" <email@hidden>
Message-ID: <BD6C7D90.18A82F0%email@hidden>
Content-Type: text/plain; charset="US-ASCII"
On 9/14/04 10:31 AM, "Mark Smith" <email@hidden> wrote:
>> Entourage 2004 reads and sends digital sigs.
>
> I'm assuming he means X509 certs. If so, it can be added to the list.
> (Entourage v.X did not AFAICR support X509.)
E'rage 2004 indeed supports X.509 certs. The only way to do it in v.X is to
install them into Internet Explorer, and that only worked for CA certs, not
personal certs.
john
--
Q: Doctor, before you performed the autopsy, did you check for a pulse?
A: No.
Q: Did you check for blood pressure?
A: No.
Q: Did you check for breathing?
A: No.
Q: So, then it is possible that the patient was alive when you began the
autopsy?
A: No.
Q: How can you be so sure, Doctor?
A: Because his brain was sitting on my desk in a jar.
Q: But could the patient have still been alive, nevertheless?
A: Yes, it is possible that he could have been alive and practicing law
somewhere.
------------------------------
Message: 9
Date: Tue, 14 Sep 2004 08:51:16 -0700
From: Michelle Steiner <email@hidden>
Subject: Re: OT [Was: Digital Sigs]
To: Applescript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
On Sep 14, 2004, at 8:26 AM, Mark Smith wrote:
> Mulberry, Apple Mail and Entourage can do PGP/Mime (The full PGP8
> plugin for Apple Mail and Entourage only comes with non-free versions
> of PGP8. Without the plug, you need (IIRC) to use) the system wide
> service provided by the PGP app (clunky but it works).
This is signed with PGP/Mime (PGP 8 paid for).
-- Michelle
--
Don't anthropomorphize computers. They hate that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
Url : http://lists.apple.com/pipermail/applescript-users/attachments/20040914/ea3466cb/attachment.bin
------------------------------
Message: 10
Date: Tue, 14 Sep 2004 08:53:19 -0700 (PDT)
From: Brian Johnson <email@hidden>
Subject: Re: Poking an Idle Handler
To: Mr Tea <email@hidden>
Cc: AS Users <email@hidden>
Message-ID:
<email@hidden>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 14 Sep 2004, Mr Tea wrote:
>> A stay-open applet containing an idle handler is running, and it's in the
>> middle of a 15-minute idle period. I'd like to cut to the end of that idle
>> period and move the script on to whatever it was going to do next.
>>
>> Is there a way?
>
> I'll answer my own question. Yes. There is a way...
>
> tell application "Tea Timer"
> tell (idle)
> return
> end tell
> end tell
or (assuming that Tea Timer has a "run" handler and that's what you want
it to move on to)
tell application "Tea Timer" to run
(Your idle handler determines what happens when an "idle" event is sent to
your script. When your idle hander returns 60 (or whatever) it sets a
wake-up entry in the system idle-events table (or whatever it's called),
so the idle-hander isn't really 'running' it's just determining what to do
when there's nothing to do. If you come along with something to do (tell
application "Tea Timer"...), that event/handler jumps the queue and stuff
happens. This is the fundamental event structure behind applescript ACGI
scripts -- a stay-open app with an "on acgi event" handler and an idle
handler.)
Hope that helps.
Brian Johnson, Dept of Architecture, University of Washington, Seattle
------------------------------
_______________________________________________
Applescript-users mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/applescript-users
End of Applescript-users Digest, Vol 1, Issue 31
************************************************