• 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
Error using AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


  • Prev by Date: Re: Cocoa downgrade from openstep?
  • Next by Date: Re: problems with glyph y-axis flipping in an NSBezierPath
  • Previous by thread: Re: NSSound pauses before first play
  • Next by thread: sending print: to window
  • Index(es):
    • Date
    • Thread