Forums > Max For Live

textedit/pattr in Max for Live device

May 11, 2010 | 10:53 am

Apologies if I’ve missed this somewhere else.

I’m having an issue with pattr not saving values from a textedit, when set by an external and not actually typed by the user. There’s some custom code involved so here’s a screenshot / description :

[attachment=132212,538]

The ptline external, when sent an empty string or NULL, will generate a UUID as a symbol, which I’d like to save across runs. If given a UUID, it’ll instead use that – hence the pattr connection. What I’ve found however, is that while this patch saves just fine if I click in the textedit and hit return (thereby "setting" the text), but will regenerate the UUID if I save the set without manual intervention.

Is my patching logic wrong here? Is there any way I can force the pattr to update?

Attachments:
  1. Screen_shot_2010-05-11_at_12.50.43_PM..png

May 17, 2010 | 7:09 pm

Thanks for the tips – I haven’t been at the machine with my licenses for a couple of days so I haven’t been able to try anything yet. Will get back as soon as I’ve had a chance to test this.


Viewing 2 posts - 1 through 2 (of 2 total)