Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
the clickLine
Value returned: line chunk expression equal to the line that the user clicked or, if the text has been grouped, the first line of the longest range of lines with the text style Group around the character that the user clicked the clickLine
to extend beyond one line. line posInteger of container
on clickDemo
answer "Click any line of the Demo Script."
wait until the mouseClick
get the clickLine
select it
wait 1 second
answer "The clickline is:" & return & it & return
end clickDemo
3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
See also: background, bkgnd, button, card, chunk,
field,
menu
, and menuItem
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. Functions
Version 0.7b1 (March 24, 2022)