Re: Error type -1753 Sometimes... Please Help
Re: Error type -1753 Sometimes... Please Help
- Subject: Re: Error type -1753 Sometimes... Please Help
- From: JJ <email@hidden>
- Date: Mon, 03 Dec 2001 23:18:50 +0100
>
I have a script which forces TCP to active state (by setting to inactive,
>
then active again). It always works fine on my maching (G4 Quicksilver,
>
AS1.6, OS9.2) but on my iMac (OS9.1, AS1.6) generrally fails the first
>
time it's run, but then works when it run again.
>
>
I'm also curious if NSS itself can display Dialog Boxes?
>
>
The prob SEEMS to be with the first line (which follows the Network Setup
>
Scripting part)
>
-----RELEVANT?? PART-------???
>
tell application (path to frontmost application as text)
>
if gFailMsg is not "" then
>
display dialog gOKMsg buttons {"OK"} default button 1 giving up after 60
>
else
>
display dialog gOKMsg buttons {"OK"} default button 1 giving up after 60
>
end if
>
end tell
>
>
HERE"S THE ERR MESSAGE:
>
>
Error type -1753
>
>
Scripting system reported that constant <<ascrtend>> does not understand
>
the <<earsffdr>> message
>
>
translation:
>
event ascrtend (path to frontmost app)
>
but here's the odd part.
>
earsffdr (path to Apple Menu Items)???
<<event earsffdr>> is "path to" and
<<event ascrtend>> should be anything such as "end tell", and its
description is "Start an application for scripting" (?)
error -1753 is a simple execution error
The error could be about "frontmost app". Must be problems with NSS in OS X.
Perhaps in your iMac, too (:
That's all I know
JJ