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


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

How to send message to another application

Subject How to send message to another application
Newsgroups comp.sys.acorn.programmer
From Alan Adams <alan@adamshome.org.uk>
Date 2020-02-12 15:41 +0000
Message-ID <129a344158.Alan.Adams@ArmX6.adamshome.org.uk> (permalink)
Organization Orpheus Internet Services

Show all headers | View raw


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)?

-- 
Alan Adams, from Northamptonshire
alan@adamshome.org.uk
http://www.nckc.org.uk/

Back to comp.sys.acorn.programmer | Previous | NextNext 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