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


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

Re: How to send message to another application

Date 2020-02-13 21:06 +0000
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: How to send message to another application
Message-ID <bb34d64158.Matthew@sinenomine.freeserve.co.uk> (permalink)
References <129a344158.Alan.Adams@ArmX6.adamshome.org.uk> <584141735fNews03@avisoft.f9.co.uk> <edfd544158.Alan.Adams@ArmX6.adamshome.org.uk> <58415e9232News03@avisoft.f9.co.uk> <5c039f4158.Alan.Adams@ArmX6.adamshome.org.uk>

Show all headers | View raw


In message <5c039f4158.Alan.Adams@ArmX6.adamshome.org.uk>
 on 13 Feb 2020 Alan Adams  wrote:

> I'll start with WindOpen as it's an easy test to try.

Good idea.
 
> I have low expectations of Matthew's suggestions, because it relies on 
> Pipedream's internal workings, and the reason for this post in the first 
> place is that ther's something suspicious about thew way Pipedream works.

It doesn't rely much on Pipedream's internals.

The odd behaviour you describe certainly has nothing to do with how
Pipedream responds to Message_DataLoad.

If Pipedream is running and you double-click the CSV field, Pipedream will
receive Message_DataOpen.  It clearly does not respond to this, because you
get the Pipedream loading banner.  That shows that the Alias$@RunType for CSV
files has been invoked, and (probably) Pipedream has been run with the CSV
filename passed to it as part of the command line. Message_DataOpen is not
used in the DataSave/DataLoad sequence, and nor is the Alias$@RunType used so
my suggestion won't trigger the same behaviour.

It sounds to me like Pipedream has code to check if it is already running
when it starts up, and if it is already running, the new copy quits without
inspecting its command line.  In the few applications I have written that do
this sort of check, I ensure that the new task sends a message to the old
task to pass the filename across so that the copy which is already running
can handle the file.  That's probably how Pipedream needs to be modified.

-- 
Matthew Phillips
Durham

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