Hubwiz.com
|
Online Course
|
API Manual
AppleScript API Manual
Guide(178)
Constant(5)
Class(18)
Command(57)
Operator(7)
Guide
Introduction
AppleScript Lexical Conventions
Character Set
Identifiers
Keywords
Comments
The Continuation Character
Literals and Constants
Operators
Variables
Expressions
Statements
Commands
Results
Raw Codes
AppleScript Fundamentals
Script Editor Application
AppleScript and Objects
What Is in a Script Object
Properties
Elements
Object Specifiers
What Is in an Object Specifier
Containers
Absolute and Relative Object Specifiers
Object Specifiers 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
pi
result
text item delimiters
version
The it and me Keywords
Aliases and Files
Specifying Paths
Working With Aliases
Working With Files
Remote Applications
Enabling Remote Applications
eppc-Style Specifiers
Targeting Remote Applications
Debugging AppleScript Scripts
Feedback From Your Script
Logging
Third Party Debuggers
Variables and Properties
Defining Properties
Declaring Variables
Local Variables
Global Variables
Using the copy and set Commands
Declaring Variables with the set Command
Declaring Variables with the copy Command
Scope of Variables and Properties
Scope of Properties and Variables Declared in a Script Object
Scope of Variables Declared in a Handler
Script Objects
Defining Script Objects
Initializing Script Objects
Sending Commands to Script Objects
Script Libraries
Creating a Library
Defining Scripting Terminology
Using a Library
Inheritance in Script Objects
The AppleScript Inheritance Chain
Defining Inheritance Through the parent Property
Some Examples of Inheritance
Using the continue Statement in Script Objects
About Handlers
Handler Basics
Defining a Simple Handler
Handlers with Labeled Parameters
Handlers with Positional Parameters
Handlers with Patterned Positional Parameters
Handlers with Interleaved Parameters
Parameter Specifications
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
idle Handlers
quit Handlers
Calling a Script Application From a Script
Class Reference
Commands Reference
Reference Forms
Arbitrary
Every
Filter
ID
Index
Middle
Name
Property
Range
Relative
Operators Reference
Control Statements Reference
considering and ignoring Statements
considering / ignoring (text comparison)
considering / ignoring (application responses)
error Statements
error
if Statements
if (simple)
if (compound)
repeat Statements
exit
repeat (forever)
repeat (number) times
repeat until
repeat while
repeat with loopVariable (from startValue to stopValue)
repeat with loopVariable (in list)
tell Statements
tell (simple)
tell (compound)
try Statements
try
use Statements
use (AppleScript)
use (scripting additions)
use (application or script)
use (framework)
using terms from Statements
using terms from
with timeout Statements
with timeout
with transaction Statements
with transaction
Handler Reference
continue
return
Handler Syntax (Labeled Parameters)
Calling a Handler with Labeled Parameters
Handler Syntax (Positional Parameters)
Calling a Handler with Positional Parameters
Handler Syntax (Interleaved Parameters)
Calling a Handler with Interleaved Parameters
Folder Actions Reference
adding folder items to
closing folder window for
moving folder window for
opening folder
removing folder items from
AppleScript Keywords
Error Numbers and Error Messages
AppleScript Errors
Operating System Errors
Apple Event Errors
Open Scripting Architecture Errors
Working with Errors
Catching Errors in a Handler
Simplified Error Checking
Double Angle Brackets
When a Dictionary Is Not Available
When AppleScript Displays Data in Raw Format
Entering Script Information in Raw Format
Sending Raw Apple Events From a Script
Libraries using Load Script
Saving and Loading Libraries of Handlers
Unsupported Terms
List of Unsupported Terms
Revision History
Glossary
Index
Constant
AppleScript
Text
current application
missing value
true, false
Class
alias
application
boolean
class
constant
date
file
integer
list
number
POSIX file
real
record
reference
RGB color
script
text
unit types
Command
activate
ASCII character
ASCII number
beep
choose application
choose color
choose file
choose file 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 notification
do shell script
get
get eof
get volume settings
info for
launch
list disks
list folder
load script
localized string
log
mount volume
offset
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
Operator
& (concatenation)
a reference to
as (coercion)
contains, is contained by
equal, is not equal to
greater than, less than
starts with, ends with