Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
add number to
[chunk
of] container
add
command adds the value of number
to the number in a container or chunk and replaces the contents of the container or chunk with the result. is a
operator to see if the container is a number.) add 3 to It
add field "Amount" to field "Total"
get last line of card field "credits"
if it is a number then add it to item 1 of theTotal
if the Message box is a number then add 15 to Message box
169 / 19
pi
(60.625 * 500)
average(1,4,5,10)
i+1 -- (where i is a number)
line 1 of fld "Debits"
abs of -10 + 2
returns 12
and abs of (-10 + 2)
returns 8
. In short, always use parentheses to group things the way you want them to evaluate, and you won’t have to worry about the difference between factors and expressions. myVariable
[the] selection
the Message box
btn 3
bg btn "Names"
card field 1
bkgnd field "Total"
menu 2
menu "Edit"
Additionally, you can refer to a button or field by its part number:card part 1
last background part
AppleScript DefinitionAn object that contains one or more other objects, known as elements of the container. In a reference, the container specifies where to find an object. You specify containers with the reserved words of
or in
.'s
) to specify containers. For example, infirst window's name
the container is first window
. The object it contains is a name property. Commands
Version 0.7b1 (March 24, 2022)