On 1/21/01 11:28 PM, "chris stearns" <[EMAIL PROTECTED]> wrote:
> Jeff Portent <[EMAIL PROTECTED]> wrote:
>
>> Wrote this today to back up my Entourage data daily.
>
>> It backs up the data
>> folder once a day, and keeps yesterday's backup just in case. Copy to
>> Script Editor, save as application in your Start-up Items folder.
>
> Tried this, but no dice. Which OS and AppleScript versions are you using?
>
> I'm running AppleScript 1.5.5. Under OS 9.1, and Script Editor 1.5.5 returns
> an error on checking syntax: "expected 'else, etc,' but found 'then.'" The
> other 'thins' are similarly problematic.
>
> I have my security extensions enabled.
>
> Anybody know what's up?
Plain text in email adds hard wrapping (carriage returns) at the ends of
lines. So if someone sends in a script in plain text, all the long lines
that continue onto second lines become two lines with bad syntax. If you
know enough about AppleScript, you know where to remove the carriage
returns.
Jeff may not be aware that, unlike some mailing lists which have people with
many different email clients as members (some of which may not cope with
HTML), this list actually encourages scripters to send in scripts in HTML,
which avoids this problem completely. This is mostly for the benefit of
those who do not know AppleScript but would like to use the script: then
they can just copy and paste without the problems and errors you just
encountered.
The recommended method for sending in scripts, to keep bandwidth low by not
using colors and other styled formats that take up a lot of bytes, is to
paste into plaintext, then press the HTML button to convert to HTML. That
way it's all in one font with no colors, bold, italics, etc. and thus
doesn't annoy people on slow internet connections by excessive size. For
tiny scripts, this precaution probably isn't necessary on this list.
That's how to do it. Perhaps Jeff would like to resend his script in HTML,
if he's not afraid that too many people will be harmed by it. Although he
has advised you to back up your data, so I guess you'd better do that first.
--
Paul Berkowitz
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>