It appears to me that the problem is that the script has "Clarisworks" 
hard coded in an error-checking line, but now that you're using 
Appleworks, the error returns "Appleworks" instead.

To fix the problem, change this line:

if theErrorMessage is "ClarisWorks got an error: Can't get document 
kind of document 1. Invalid index." then

To these two lines:

set the AppName to its name
if theErrorMessage is AppName & " got an error: Can't get document kind 
of document 1. Invalid index." then

This change will take care of any further changes in the application's 
name, assuming that Apple does its part correctly if they change the 
name of the application.

--Michelle

On Thursday, September 12, 2002, at 01:24  AM, M. A. Nezami wrote:

> Sorry Michelle, here it is with all relevant info:
>
> (1) Script Namme: Export - Move to CW
>
> (2) The error message: "The script did not expect this error: 
> AppleWorks
> got an error: can't get document kind of document 1. Invalid Index."
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.

___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]>  or  <[EMAIL PROTECTED]>

Reply via email to