standard.print

getElement(id).print() or getElement(id).print(x,y) (limited support in PennController 1.3, general since 1.4) or getElement(id).print(x,y,canvas) (limited support in PennController 1.3, general since 1.4) Adds the content of the element to the screen. This has no effect for non-visual elements such as the purely interactive . Since PennController 1.3, you can pass x and y values to print …

text.test.text

getText(id).test.text( string ) or getText(id).test.text( /RegExp/ ) (since beta 0.3) Tests whether the text matches the string (identical, case-sensitive) or the regular expression.

text.settings.text

getText(id).settings.text( string ) Resets the text of the element. Example: [js highlight=”8″ try=”true”]newText(“onlyTextOnScreen”, “You have not pressed the spacebar yet”) .print() , newKey(“spacebar”, ” “) .wait() , getText(“onlyTextOnScreen”) .settings.text(“Now you have pressed the spacebar.”) [/js] Updates the text after the spacebar was presssed.