Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part IV: Appendixes > AppleScript Error Numbers

C.7. AppleScript Error Numbers

Table C.11 summarizes some of the error numbers you might see when working with your scripts.

Table C.11. Potential Error Numbers
Error numberError message
−2700Unknown error.
−2701Can't divide <number> by zero.
−2702The result of a numeric operation was too large.
−2703<reference> can't be launched because it is not an application.
−2704<reference> isn't scriptable.
−2705The application has a corrupt dictionary.
−2706Stack overflow.
−2707Internal table overflow.
−2708Attempt to create a value larger than the allowable size.
−2709Can't get the event dictionary.
−2720Can't both consider and ignore <attribute>.
−2721Can't perform operation on text longer than 32KB.
−2729Message size too large for the 7.0 Finder.
−2740A <language element> can't go after this <language element>.
−2741Expected <language element> but found <language element>.
−2750The <name> parameter is specified more than once.
−2751The <name> property is specified more than once.
−2752The <name> handler is specified more than once.
−2753The variable <name> is not defined.
−2754Can't declare <name> as both a local and global variable.
−2755Exit statement was not in a repeat loop.
−2760Tell statements are nested too deeply.
−2761<name> is illegal as a formal parameter.
−2762<name> is not a parameter name for the event <event>.
−2763No result was returned for some argument of this expression.



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint