Re: text define object issue

Jim Ruxton <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <CAPQ66MSki7X0t4atX3Em0HBJNY-MqSbx3a_Y5vqBmky+km6k9Q@mail.gmail.com>
Thanks for clarifying this. I'm wondering if there is a work around  to
know when the object has been updated. In my patch I have

bang
 |
[openpanel]
|
[read $1(
|
[text define -k text-1]



I would like to take an action when someone opens a new text file. Any
thoughts how I can know when this happens. I was hoping the second outlet
on the [text define] would accomplish that.

Hi,
>
> "Second outlet notifies you when text changes. As of Pd 0.48 this only
> outputs the message "updated" when text changes, but this might be
> extended to offer more information in the future."
>
> This is indeed a bit vague. The "updated" message is sent when the user
> changes the text in the editor window and hits Ctrl/Cmd+S.
>
> @porres to the rescue!
>
> Christof
>
> On 27.10.2025 23:12, Jim Ruxton wrote:
> > I'm using the [text define] object . The help file states:
> >  "Second outlet notifies you when text changes. As of Pd 0.48 this
> > only outputs the message "updated" when text changes, but this might
> > be extended to offer more information in the future."
> >
> > I'm not seeing anything come out the second outlet when text changes
> > in the text define object. Is this a bug?  I'm using Pd 0.56.0
> > (Linux/amd64 - single precision) . Actual object I'm using is
> > [text define -k text-1] as in the help file.
> >
>
>

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/AGADAH6KDQKIWH3Q23NV7VPIJ7ZLOOIY/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.