General
Sending menu item to text object....
Started by stevendieveney on .
Sign in or create an account to join the conversation.
I wonder if anyone can help me on this. I'd like to send the selected item from a menu to a text object. Say I've got a menu with a bunch of patch names and simply want a larger text object to reflect the current selection so as to have a second, larger reference. Does anyone know how to do this?
Hugely appreciatedl
Steve
Hugely appreciatedl
Steve
Hi
Just write a script in the Menu (call it setText or similar) executing on 'selection' (i.e. just type in selection, no ' ') . . .
setattribute(findobject('Text'),'content',getattribute(Menu, 'items')[selection]); //'Text' is name of Text object , Menu is name of Menu object . . .
Just write a script in the Menu (call it setText or similar) executing on 'selection' (i.e. just type in selection, no ' ') . . .
setattribute(findobject('Text'),'content',getattribute(Menu, 'items')[selection]); //'Text' is name of Text object , Menu is name of Menu object . . .