Re: Chainmail Applescript
Re: Chainmail Applescript
- Subject: Re: Chainmail Applescript
- From: Bryan <email@hidden>
- Date: Mon, 01 Oct 2001 07:45:40 -0400
- Organization: Apex Radiology
"Query Menu List" comes from the Menu Events Scripting Addition
if you send me a copy of the script (as an attachment) I would be happy to run it
through my OsaxenCheck 0.3 and return you a list of OSAXen required.
Bryan Kaufman
Sander Tekelenburg wrote:
>
-----BEGIN PGP SIGNED MESSAGE-----
>
Hash: SHA1
>
>
Jeanne,
>
>
You should be aware of the fact that PGP uses hyphens as delimiters.
>
PGP-signing a message that contains AS [AppleScript] is therefore tricky: any
>
line starting with 2 hyphens (AS's way of saying that what follows is a
>
comment) will be screwed up by PGP as it will preceed the line with "- "
>
[hyphen space].
>
>
Example:
>
>
-- this is a comment in AS
>
- -- this is an AS comment that's screwed up by PGP. It won't compile.
>
>
The easiest way around this is to use AS's "(*" and "*)" comment delimiters,
>
like this:
>
>
(* this is a comment
>
that won't be screwed up
>
by PGP signing this message *)
>
>
At 13:30 -0400 UTC, on 30-09-2001, Jeanne wrote:
>
>
> Below is the entire script called "Chainmail" This is the original
>
> source. NOT the copy I have been tinkering with.
>
>
Are you aware that the source lists several authors? If I were you I'd try to
>
contact them.
>
>
> +++++++++Begin Chain mail 1.0b2++++++++++++++++
>
>
[...]
>
>
> tell application "PGP7.03"
>
> activate
>
> encrypt (theFile) ,
>
> to Recipient ,
>
> signature omitted ,
>
> reading plaintext ,
>
> writing asciified
>
>
Indeed when compiling, Script Editor of course throws up an error on these
>
commma's. It may well have been this mailing list's server that screwed up,
>
but I don't see what characters they *should* be...
>
>
My copy of PGP most certainly doesn't list any of this in its dictionary. Not
>
even "encrypt". Then again, I use the free version of PGP. Possibly the
>
commercial version *is* scriptable?
>
>
Also, I get the impression that perhaps some third-party Scripting Addition
>
may be requiered for this script. From this next bit, I get the impression
>
that perhaps some Scripting Addiition is used to control PGP by scripting its
>
menus:
>
>
> on stopRecycle()
>
> tell application "PGP7.03"
>
> try
>
> with timeout of 30 seconds -- some applications won't respond to Menu
>
> events set menuListInfo to Query Menu List
>
>
I don't know which Scripting Addition "Query Menu List" comes from though. If
>
no one on this list knows, or explains, you could try to find out on
>
<http://www.osaxen.com>.
>
>
[...]
>
>
> This is the entire source. Yes the read me does indicate Mac PGP and
>
> legacy keys.
>
>
Does it mention any needed third party Scripting Additions (aka "OSAXen")?
>
The code mentions that this script needs "Regular Expression OSAXen", which I
>
don't know. The only RegEx scripting Addition I know is Leonard Rosenthol's
>
"RegEx Commands". Might the author of this script have meant that one?
>
>
> If I need to step down to MacPGP 2.6.x to use (which I
>
> would rather not)
>
>
The only downside would be that you can only use RSA keys. (Some people would
>
call that an "upside" ;))
>
>
Btw, if you can't get this script working, you might want to have a look at
>
"MixFit", a MixMaster app for Mac OS.
>
>
HTH
>
>
-----BEGIN PGP SIGNATURE-----
>
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
>
iQA/AwUBO7eyIusywKfXgqKdEQKPRwCg8FIthwA3NP+VcEAOQP2WgtKOqnUAoJBa
>
A4n5lqxj+OpoadaodxZLS2ut
>
=fSw6
>
-----END PGP SIGNATURE-----
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]