AppleScript and error messages
AppleScript and error messages
- Subject: AppleScript and error messages
- From: Eric Scharff <email@hidden>
- Date: Mon, 6 Aug 2001 17:32:20 -0700 (PDT)
To experiment with AppleScript, I created a simple ObjC Cocoa
document-based application (a shopping list) 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! As a former Classic and
current Cocoa programmer, I have even less desire to ever go
back. :)
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/