I know you don't want to do this if you want to support Panther, but
have
you tested to see if using an OSAScript instead of an NSAppleScript
makes a
difference?
-----Original Message-----
Subject: NSAppleScript and System Events
On my Tiger iMac G5, Simple AppleScript does works strangely. like:
tell application "System Events" to get process "TextEdit" exists
This script works well on Script Editor app whether if TextEdit is
running or not.
But ... When I run via NSAppleScript,
a.Tiger iMacG5 takes "6 secs" to reply "without" TextEdit running
b.Tiger iMacG5 takes less than 1 sec to reply "with" TextEdit running
c.Panther PBG4 works well whether TextEdit running or not
Is this a bug of NSAppleScript or System Events?
I guess, Script Editor works well ether panther or tiger, so this may
be a bug of NSAppleScript.