Re: NSInternalScriptError
Re: NSInternalScriptError
- Subject: Re: NSInternalScriptError
- From: Matt Neuburg <email@hidden>
- Date: Wed, 07 Sep 2005 09:20:49 -0700
On Tue, 6 Sep 2005 18:12:36 -0500, Jim Brandt <email@hidden>
said:
>Can someone tell me why these lines:
>
>tell application "System Events"
> get system attribute "sysv"
> if result is greater than or equal to 4144 then -- Mac OS X 10.3.0
> if UI elements enabled then
> ... rest of script
>
>is giving this error in the event log:
>
>
>tell application "System Events"
> system attribute "sysv"
> 4162
> get UI elements enabled
> "System Events got an error: NSInternalScriptError"
I've no idea. In fact, my first impulse is to suggest this simply isn't
happening. :) I get this in the event log:
tell application "System Events"
system attribute "sysv"
--> 4162
get UI elements enabled
--> true
Are you sure there isn't something else going that you're not telling us?
Are those lines embedded in, or interleaved with, some other lines that
might have a bearing on the matter? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden