Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
set
[the
] scroll of field to integer set the scroll of
[the
] card window ¬ to point
scroll
property returns or sets which lines of text currently appear (as indicated by the scroll bar). The integer
represents the number of pixels that have scrolled above the top of the field’s rectangle. For example, the number of lines scrolled in card field 1 equals the scroll of card field 1 div the textHeight of card field 1
. scroll
to a number between 0 and the maximum value for the field. scroll
property returns or sets a point that specifies the current horizontal and vertical offsets of the portion of the card currently visible in the card window. It affects the card image only when the size of the window is smaller than the size of the card. on madScroller
put the rect of card window into theRect
set the rect of card window to left of cd window,top of cd window,¬
left of cd window + 172, top of cd window + 64
repeat 10 times
set the scroll of card window to ¬
random(width of this card),random(height of this card)
wait 30
end repeat
set the rect of card window to theRect
end madScroller
card
field id posInteger
[of card
]card field text
[of card
] -- namecard field posInteger
[of card
]ordinal card field
[of card
]
[bkgnd
] field id posInteger
[of card
]
[bkgnd
] field text
[of card
] -- name
[bkgnd
] field posInteger
[of card
]ordinal
[bkgnd
] field
[of card
]card field id 3894
card field "My Notes"
card field 1
first card field
background field 3 of card 1
When used inside a field script in HyperTalk:me
When a field receives a message:[the] target
3
18 - 100
-(3 * sum(1,3,4,5)) + 39
In AppleScript, integer is a value class. 91,303
"91,303"
"30" & "," & "100"
the clickLoc
AppleScript DefinitionAn expression that evaluates to a specific screen location, in the form of a list with two integer elements. For example:Properties
Version 0.7b1 (March 24, 2022)