General

Change text in a Text Object or Monitor object with Pad...

Started by stevendieveney on .

Sign in or create an account to join the conversation.

3 posts

Subject: Re: Change text in a Text Object or Monitor object with Pad.
insert script in Pad

on expression x , rise from 0 (up arrow)

setattribute(TextObjectName,'content','some text here');
Replace textObjectName in the script above with the actual name of your Text object. The script is triggered when x leaves zero (up arrow) so that means it is executed whenever the pad is PRESSED.....

You could have a different script for example, for when the pad is released (on expression x, down arrow)

A reference of all the "attributes" that you can change via scripting for each object is at the end of the manual. Remember, expressions are only the "variables" of the objects (x,y,z where applicable) - all the rest are "attributes"....