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.
--
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide