Re: problem running apple guidebook modules
Re: problem running apple guidebook modules
- Subject: Re: problem running apple guidebook modules
- From: Nigel Garvey <email@hidden>
- Date: Fri, 20 Apr 2001 12:45:49 +0100
"Arthur Cormack" wrote on Thu, 19 Apr 2001 23:16:11 -0400:
>
Dear Good Scripting Samaritans,
>
>
I am having a peculiar problem installing apple guidebook modules.
>
When I try to run the appleScript installers (any of them) for
>
guidebook modules,
>
I get this error:
>
<<script>> doesn't understand the <<event earsffdr>> message.
>
>
I have also tried to run the script in "script debugger."
>
-The line of code which generates this error is:
>
set the help_folder to +event earsffdr; +constant afdmhlp;
>
>
My OS is 9.1. on a g3 powerbook.
The line should appear as:
set the help_folder to path to help folder
It looks as though you either don't have the Standard Additions installed
(unlikely) or don't have certain security extensions enabled (which
prevents the Standard Additions from working in OS 9.1). My guess is the
security extensions.
The line that always gives me trouble comes later on:
set error_log to ((path to desktop) as text) & ((day of (current date))
as string) & ,
((time of (current date)) as string)
This is inside a Finder 'tell' block, which causes problems with (path to
desktop). Once I change the line to the Finder equivalent:
set error_log to (desktop as text) & ((day of (current date)) as
string) & ,
((time of (current date)) as string)
... all goes well.
Interestingly, the original scripter wrote '((path to desktop) as text)'
rather than '(path to desktop as text)'. These give the same result but
are not quite the same process. In the first case, the result from 'path
to' (when it's not in a Finder block!) is coerced to string; in the
latter, 'path to' itself returns the string.
NG