Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Martin Newsgroups: comp.sys.acorn.programmer Subject: Re: TaskWindow Messages - output Date: Wed, 11 Mar 2026 23:28:42 +0000 (GMT) Organization: None Lines: 45 Message-ID: <5cb81f53e1News04@avisoft.f9.co.uk> References: <61f8e2b75c.Paul@phorefaux> <5cb7e6d170News04@avisoft.f9.co.uk> <167a00b85c.Paul@phorefaux> <85de05b85c.harriet@bazleyfamily.co.uk> <88a00ab85c.Paul@phorefaux> Injection-Date: Wed, 11 Mar 2026 23:29:22 +0000 (UTC) Injection-Info: dont-email.me; posting-host="4c116fbe48f15c0dd5cc7f919c509ff5"; logging-data="1621129"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189NEs+rUR9Hj+vJq2EP+0d" User-Agent: Pluto/3.21a (RISC OS/5.31) NewsHound/v1.54 Cancel-Lock: sha1:pE4sO0jWLACS3u8CoeIO4QmUB0k= Xref: csiph.com comp.sys.acorn.programmer:6617 In article <88a00ab85c.Paul@phorefaux>, Paul Stewart wrote: > In message <85de05b85c.harriet@bazleyfamily.co.uk> > Harriet Bazley wrote: > > On 11 Mar 2026 as I do recall, > > Paul Stewart wrote: > >>>> Now I'm thinking I should be listening for &808C1 > >>>> (TaskWindow_Output) to receive the contents of the TaskWindow. > >>>> Is that correct? > >> > >>> Yes, that is how you see the output to display yourself, > >>> interrogate, or lose. > > [snip] > >> Issue I have is that I am not receiving the &808C1 message. > >> > >> I get the &808C3 when it has finished, but I also want the > >> output that would usually be in the Task Window (if I was to > >> manually run it, rather than run via Wimp_StartTask). > >> > > I've never tried to intercept and display taskwindow output > > manually, but is it possible that you have to register yourself > > as an official 'taskwindow handler' with the Wimp first in order > > to prevent its being intercepted and displayed by Edit or > > StrongED or some other recognised handler? > > And - the usual question - have you added TaskWindow_Output to > > the list of Wimp messages to be passed on to Wimp_Poll, or is it > > getting masked out by default? > Well at the moment I have added &808C0 - &808C6 to Wimp messages > Looking at PRM3, page 263,TaskWindow_Ouput - this message is sent > to the Parent when one of it's children has produced output. What command have you passed to the TaskWindow command? What did you provide for the -task and -txt values? -- Martin Avison Note that unfortunately this email address will become invalid without notice if (when) any spam is received.