Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5965

Re: How to send message to another application

From Martin <News03@avisoft.f9.co.uk>
Subject Re: How to send message to another application
Newsgroups comp.sys.acorn.programmer
Date 2020-02-12 18:01 +0000
Message-ID <584141735fNews03@avisoft.f9.co.uk> (permalink)
References <129a344158.Alan.Adams@ArmX6.adamshome.org.uk>
Organization None

Show all headers | View raw


On 12 Feb in article <129a344158.Alan.Adams@ArmX6.adamshome.org.uk>,
   Alan Adams <alan@adamshome.org.uk> wrote:
> Hi

> i'm trying to work around a limitation of Pipedream.

> Briefly I want to create a csv file and have Pipedream open it
> automatically.

> If I double-click the file when Pipedream isn't running, it works.
> If I double-click when Pipedream is running, the banner appears
> again, then nothing more happens. I think Pipedreasm is trying to
> open a second copy of itself, and quitting when it discovers this.

> Instead I want my application to ensure PipeDream is running, then
> use DataSava and DataLoad messages to simulate draging a file to
> its iconbar icon. This requires me, as far as I can see from the
> manuals, to know the icon number and window handle. The window
> handle should be -2 I believe, but how do I find the icon number.

> I can find the task handle using Task_EnumerateTasks looking for
> the name.

> The message protocol has an option to send the message to the task
> handle. Do I need the icon number in this case? If not, what do I
> put in message block fields 20 amnd 24 (and indeed 28 and 32 as
> well)?

Before you start on a program to bypass a 'limitation' (or even bug)
or Pipedream, have you asked on the pipedream mailing list about this?

Stuart is usually around, and if it is a bug may fix it, or confirm
it is a limitation.

-- 
Martin Avison 
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received. 

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-12 15:41 +0000
  Re: How to send message to another application Martin <News03@avisoft.f9.co.uk> - 2020-02-12 18:01 +0000
    Re: How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-12 21:35 +0000
      Re: How to send message to another application Martin <News03@avisoft.f9.co.uk> - 2020-02-12 23:19 +0000
        Re: How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-13 11:03 +0000
          Re: How to send message to another application Matthew Phillips <spam2011m@yahoo.co.uk> - 2020-02-13 21:06 +0000
        Re: How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-13 15:04 +0000
          Re: How to send message to another application Martin <News03@avisoft.f9.co.uk> - 2020-02-13 17:45 +0000
            Re: How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-13 18:40 +0000
              Re: How to send message to another application Martin <News03@avisoft.f9.co.uk> - 2020-02-13 23:26 +0000
                Re: How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-14 09:30 +0000
                Re: How to send message to another application Steve Fryatt <news@stevefryatt.org.uk> - 2020-02-14 15:41 +0000
                Re: How to send message to another application Alan Adams <alan@adamshome.org.uk> - 2020-02-14 16:56 +0000
  Re: How to send message to another application druck <news@druck.org.uk> - 2020-02-12 20:08 +0000
  Re: How to send message to another application Matthew Phillips <spam2011m@yahoo.co.uk> - 2020-02-13 09:00 +0000

csiph-web