• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSInternalScriptError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInternalScriptError


  • Subject: Re: NSInternalScriptError
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 6 Sep 2005 17:22:54 -0700


On Sep 6, 2005, at 4:12 PM, Jim Brandt wrote:

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:

This script gives me no error, with 10.4.2 and the commensurate version of Applescript:


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
            display dialog "enabled"
        end if
    end if
end tell

-- Michelle

--
if u cn rd ths u cn gt a gd jb, bt if u rt lk ths u r a mrn.

_______________________________________________
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


References: 
 >NSInternalScriptError (From: Jim Brandt <email@hidden>)

  • Prev by Date: Re: exists ... index 0 returns true
  • Next by Date: regexp
  • Previous by thread: NSInternalScriptError
  • Next by thread: Re: NSInternalScriptError
  • Index(es):
    • Date
    • Thread