Error using AppleScript
Error using AppleScript
- Subject: Error using AppleScript
- From: Eric Scharff <email@hidden>
- Date: Wed, 8 Aug 2001 15:57:38 -0700 (PDT)
(Sorry for the repost, but my mailer tells me that the last time
this bounced.)
I have a simple ObjC Cocoa document-based application and added
AppleScript support through an appropriate MyProj.scriptSuite
and English.lproj/MyProj.scriptTerminology, After fixing a
number of syntax errors in the script files, I got everything
working with basically no extra code!
However, I am getting odd error messages when I run things from
within ProjectBuilder. They look like NSLog messages but they
aren't coming from my code. Every time I run a script (probably
every time an AppleEvent gets generated by the Script Editor) I
get a message like this:
Aug 06 18:27:25 MyProj[336] _NSMacOSTypeFromString(): string
'(null)' is not exactly 4 characters long.
The scripts still seem to run properly, though.
Anyone know what I'm doing wrong? Is there some
applescript-specific method I've failed to implement?
Thanks,
-Eric
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/