syntax problem
syntax problem
- Subject: syntax problem
- From: Kelly <email@hidden>
- Date: Fri, 28 Sep 2001 22:08:15 -0400
As I stated in previous posts, I am currently trying to update a script
called "Chainmail". this is a 4 year old script, that PGP encrypts and
then mails to an anonymous remailer.
When checking syntax, I get the folloiwng error after locating PGP:"expected
end of line, etc, but found "to" "
this is where the error occurs:
on DoEncrypt(theFile, Recipient)
set Recipient to commasplit(Recipient)
if length of Recipient = 0 then
return
end if
with timeout of 300 seconds
try
tell application "PGP"
activate
encrypt (theFile) ,
to Recipient , <--this is where the error occurs
signature omitted ,
reading plaintext ,
writing asciified
end tell
any suggestions? I am not yet certain about how to use the dictionaries,
so I have working with a "hit & miss" approach, trying everything and
making notes. I can't get past this syntax error of this line, unless I
totally remove "to" and do not replace it. I then encounter a syntax
error in the next line. with PGP's dictionary, I have triedsetgetwith
datawith properties Recipient
I still will get an error related to "Recipient"
Thanks for any help
--
Kol Tuv,
Kelly