[the] title of <buttonOrStack>

if the title of button 1 is the name of button 1 then ...
set the title of button "Quit" to "Beenden"


The title property lets you override the name shown on an object. This is especially useful to let your code reference buttons using names in your native language, while users see a localized name in their language, without you having to change the names of all objects and the code referring to them.

See Also