Index
[SYMBOL]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[J]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[U]
[V]
[W]
[X]
[Y]
[Z]
C language arbitrary blocks in compiled language different from AppleScript arithmetic operation, datatype of result continue statement do until, not like repeat until for loop vs. repeat with real to integer coercion scripting addition might be written in C++, return-by-reference 2nd calculation and repetition call chain 2nd call method command call soap command incompatible with many servers call xmlrpc command Call·subroutine command cancel, in dialog 2nd error dialog not displayed 2nd CarbonLib caret (^), exponentiation operator case string comparisons and variable names and vertical bars and case (constant) catch (error) 2nd selectively 2nd CD/DVD, responding to insertion of CGI (common gateway interface) Mac vs. Unix implementation chain of handler calls 2nd chain of inheritance (script objects) implicit chain of ofs and tells crucial to AppleScript programming where it ends character composed escaped number, conversion Unicode, entering untypeable, entering in literal string character (string element) learning number of Unicode-savvy, not fully Cheeseman, Bill 2nd chevrons (« ») constructing data class object entering 2nd raw four-letter code, entering choose application command Choose Application dialog choose color command choose file command choose file name command choose folder command choose from list command choose remote application command choose URL command returns string (dictionary lies) class 2nd 3rd abstract any can be assigned to variable coercion string commands that can be sent to 2nd constant defined differently by different applications dictionary, how listed in can appear twice enumeration listed as inheritance record listed as finding list items of given implementing (Cocoa scripting) of variable orphan plural (synonym for every) dictionary, how listed in repeat with . . . in, causes trouble singular, can be identical with some classes lack property of record property, same name as 2nd compiler doesn't distinguish reference, never reported as type class vs. used as variable name 2nd Classic scripting additions clipboard conversion data, reading and writing styled text undisplayable values clipboard info command close access command close command (TextEdit) closure Cocoa action messages Apple events, sending with 2nd application launches when dictionary consulted make command may look scriptable even if not scriptability, adding writing, with AppleScript Studio bindings built-in methods calling AppleScript from 2nd calling AppleScript Studio from calling from AppleScript 2nd delegation queries documentation, online key (sdef dictionary) learning lifetime notifications messages from, receiving (AppleScript Studio) methods, built-in Objective-C, native language Cocoa scripting AppleScript Studio, combining with class, implementing command, implementing dictionary format documentation murky 2nd enumeration, implementing key-value coding disadvantages of NSReceiverScriptError pre-Tiger applications property, implementing code coverage, Script Debugger provides fragments reusing, with a library script object or handler definition not coercion alias boolean by AppleScript by scriptable application by scripting addition 2nd class constant date dictionary, not listed in 2nd 3rd explicit file file URL implicit 2nd arithmetic operators boolean operators comparison operators concatenation operator containment operators list to string, being careful of list month number object string specifier vs. pathname POSIX file reference string pathname styled text text (synonym for string) Unicode text pathname unit (measurement) version 2nd weekday colon (:) in handler definition and call in Macintosh pathnames POSIX path, don't use in record, name-value separator color, rgb (class) user chooses comes after (synonym for >) comes before (synonym for <) comma (,) in global declaration in local declaration separating list items separating parameters 2nd separating record items command 2nd 3rd classes that can obey 2nd coercion, might perform implicit default is get event vs. handler call similar to implementing (Cocoa scripting) multiple objects, applied to multiple words multiple, to same target nested in another command parentheses needed parameter datatype not enforced by compiler dictionary may list wrongly name enforced by compiler 2nd result inconsistent datatype scripting addition, handler name same as used as variable name comment command, can't interrupt or precede in dictionary multiple line nesting precedence quotation marks and pipes inside single-line comparison operators some implicitly dereference reference compatibility applet applet bundle 2nd compiled script file formats sdef dictionary format compilation application needed for 2nd constructs Apple events dictionary needed for 2nd 3rd dictionary, loading of first time takes longer generates four-letter codes top-level entries initialized 2nd variable scope and type determined when needed compile can't, due to defective dictionary can't, if alias doesn't exist can't, with some terminology clashes can't, without targeted applications 2nd saving a script that won't with Unix compiled script file data storage formats compatibility problems data-fork file resource-fork file script bundle handler in, calling from Cocoa information contained in library of common code location of current, learning opening from Finder opening without target application persistence of top-level entities Script Debugger shows Script Editor destroys portability problems reading as script object can create undeclared variable loads context (closure) recovering when decompilation fails run-only saving script object as saves context (closure) Unix, creating with compiled vs. interpreted languages compiler class/property names not distinguished datatypes not checked 2nd encapsulation not enforced 2nd enforces class name in element specifier enforces command parameter names 2nd enforces parts of speech 2nd enumeration values not checked nonsensical expressions not prevented property and element not distinguished required parameters not enforced complete target 2nd determination of reference as component Generic Scripting Component getting a list of instance Script Application Component Component Manager computer name concatenation avoids long literal strings plus sign (+), not record set end of, more efficient condensed (constant) condition optimizing Configure Folder Actions considerations, string 2nd offset command and scriptable applications ignore 2nd considering block constant coercion, string 2nd dictionary, how listed in display dialog displays incorrectly enumerator 2nd global properties are not used as variable name constructor containment operators contains operator content property contents of operator contents property conflicts with contents property content a better alternative implicit subcontainer in Entourage context (of script object) contextual menu Big Cat Finder, Automator workflow 2nd Script Editor continuation character (¬) entering how used in this book moved or removed by decompilation must be last thing in line continue command passing parameters to run handler continue statement, nonexistent control structures branching errors deliberate looping not waiting for application reply pausing string comparison and containment targeting terminology resolution timeout conversion of units cooperative multitasking copy command can't be nested event handler illegal set command, difference from short-circuited resolution of copy, passing as parameter guaranteeing Core Suite 2nd count command CPU speed, learning Creator 2nd creator code, launching application by CRLF (Windows line break) 2nd curl (Unix tool) 2nd curly braces delimiting lists delimiting records current application 2nd implicit target location of, learning current date command customization application behavior attachability 2nd hooks observability attachability vs. of handler of script object returned from handler
|