Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
set
[the
] markChar of menuItem of ¬ menu to char
The markChar
property returns or sets the character used to mark a menu item. If the item has no mark, the markChar
returns empty
. Otherwise, it returns the character. markChar
of a menu item to a character also marks the item, that is, sets its checkMark
property to true. numToChar(18)
. It prints in the Chicago font: on mouseUp
if there is a menu "Reference"
then set the markChar of menuItem 1 of menu "Reference" to ¬
numToChar(240) -- the Apple symbol in Chicago and some other fonts
end mouseUp
menuItem text
menuItem posInteger
ordinal menuItem
For example: menuItem "New"
menuItem 2
second menuItem
menu text
menu posInteger
ordinal menu
For example: menu "File"
menu 2
second menu
"a"
return
tab
numToChar(13)
Properties
Version 0.7b1 (March 24, 2022)