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.
Can anyone help me with the proper (hopefully simple!?) expression or script to use to change the text in a Text object with the push of a Pad? (Or should I use a Monitor object?)
Greatly appreciated!!!!
Steve
Greatly appreciated!!!!
Steve
Subject: Re: Change text in a Text Object or Monitor object with Pad.
insert script in Padon 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"....
Subject: Re: Change text in a Text Object or Monitor object with Pad.
here's a working example to get you startedhttp://forum.liine.net/viewtopic.php?f=34&t=3125#p12267