Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
get expression
get
[the
] property
[of object
] get
command puts the value of any expression or property into the local variable it
. get expression
put expression into it
get random(100) -- places a random number into the variable it
put it
get the short name of this card
if it is "Index" then ...
get the userLevel
if it < 3 then ...
on getNumChars
get the number of characters in bkgnd field "Demo Script"
answer "This demo script contains" && it && "characters."
end getNumChars
true
sin(90)
"this is" && it
(3+2) = 5
the heapspace div 1024
length of 3 + 5
returns 6
and length of (3 + 5)
returns 1
. 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.the location
the rectangle
the name
the textArrows
the userLevel
AppleScript DefinitionA characteristic of an object that has a single value and is identified by a label. HyperCard
, or any expression that identifies an object by name, number, or id.HyperCard
me
[the] target
button 1
background part 6
card field id 3894
this card
next background
stack "My Stack"
AppleScript DefinitionAn identifiable part of an application, or a thing within an application that can respond to commands.
Commands
Version 0.7b1 (March 24, 2022)