Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
set [the] partNumber of part ¬
to integer
where integer
is in the range 1 through the sum of buttons and fields in the current card or background partNumber
property retrieves or sets the ordinal position of a button or field (that is, of a part) among the total number of all buttons and fields within the same domain (card or background). partNumber
moves it closer to or farther away from the front. partNumber
of field 1 is 3.
set the partNumber of field 5 to 1 -- farthest back
set the partNumber of cd field Names to number of parts -- closest
get the partNumber of background button "Home"
partNumber
property.card
] part posInteger
[bg
] part posInteger ordinal
[card
] [bg] part
For example:card part 5
first card part
last background part
3
18 - 100
-(3 * sum(1,3,4,5)) + 39
In AppleScript, integer is a value class.
Properties
Version 0.7b1 (March 24, 2022)