Apple script language guide

AppleScript Language Guide CContents Introduction to AppleScript Language Guide What Is AppleScript Who Should Read This Document Organization of This Document Conventions Used in This Guide See Also AppleScript Lexical Conventions Character Set Identi ?ers Keywords Comments The Continuation Character Literals and Constants Boolean Constant List Number Record Text Operators Variables Expressions Statements Commands Results Raw Codes AppleScript Fundamentals Script Editor Application AppleScript and Objects What Is in a Script Object Properties Elements - - Copyright ? Apple Inc All Rights Reserved CContents Object Speci ?ers What Is in an Object Speci ?er Containers Absolute and Relative Object Speci ?ers Object Speci ?ers in Reference Objects Coercion Object Conversion Scripting Additions Commands Overview Types of Commands Target Direct Parameter Parameters That Specify Locations AppleScript Error Handling Global Constants in AppleScript AppleScript Constant current application Constant missing value Constant true false Constants The it and me Keywords Aliases and Files Specifying Paths Working With Aliases Working With Files Remote Applications Enabling Remote Applications eppc-Style Speci ?ers Targeting Remote Applications Debugging AppleScript Scripts Feedback From Your Script Logging Third Party Debuggers Variables and Properties De ?ning Properties Declaring Variables Local Variables Global Variables Using the copy and set Commands Scope of Variables and Properties - - Copyright ? Apple Inc All Rights Reserved CContents Scope of Properties and Variables Declared in a Script Object Scope of Variables Declared in a Handler Script Objects De ?ning Script Objects Initializing Script Objects Sending Commands to Script Objects Script Libraries Creating a Library Using a Library Inheritance in Script Objects The AppleScript Inheritance Chain De ?ning Inheritance Through the parent Property Some Examples of Inheritance Using the continue Statement in Script Objects About Handlers Handler Basics De ?ning a Simple Handler Handlers with Labeled Parameters Handlers with Positional Parameters Handlers with Patterned Positional Parameters Handlers with Interleaved Parameters Recursive Handlers Errors in Handlers Passing by Reference Versus Passing by Value Calling Handlers in a tell Statement Handlers in Script Applications run Handlers open Handlers idle and quit Handlers for Stay-Open Applications Calling a Script Application From a Script Class Reference alias application boolean class constant date - - Copyright ? Apple Inc All Rights Reserved CContents ?le integer list number POSIX ?le real record reference RGB color script text unit types Commands Reference activate ASCII character ASCII number beep choose application choose color choose ?le choose ?le name choose folder choose from list choose remote application choose URL clipboard info close access copy count current date delay display alert display dialog display noti ?cation do shell script get get eof get volume settings - - Copyright ? Apple Inc All Rights Reserved CContents info for launch list disks list folder load script localized string log mount volume o ?set open for access open location path to application path to folder path to resource random number read round run run script say scripting components set set eof set the clipboard to set volume store script summarize system attribute system info the clipboard time to GMT write

  • 76
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager
  • Détails
  • Publié le Apv 24, 2022
  • Catégorie Administration
  • Langue French
  • Taille du fichier 709.1kB