Re: [ARMini-support] CSV files and Fireworkz

  • From: Nick Roberts <tigger@xxxxxxxxxxxxxxxxxxxxx>
  • To: armini-support@xxxxxxxxxxxxx
  • Date: Mon, 14 May 2018 20:12:40 +0100

In message <d96602f856.Alan.Adams@xxxxxxxxxxxxxxxxxxxxxx>
       Alan Adams <alan@xxxxxxxxxxxxxxxx> wrote:

In message <56f7a8f634RISCOS@xxxxxxxxxxx>
          "Richard Torrens (RISC  OS)" <RISCOS@xxxxxxxxxxx> wrote:

In article <bc64a2f756.ricp@xxxxxxxxxxxxxxxxxxxxx>,
   Richard Porter <ricp@xxxxxxxxxxxxxxxx> wrote:
When I double-click Select on a CSV file it launches !Fireworkz
which displays a warning "No data found in file [full pathname]".
If I try the same thing again with !Fireworkz already loaded I
get the New document window.

How can I make CSV files load into !Schema 2? Or failing that,
not launch Fireworkz? I was expecting the translation to be in
MimeMap but this isn't the case with 5.23 (ARMX6).

Fireworks !Boot file has two lines:
 If "<File$Type_DFE>"="" Then Set File$Type_DFE CSV
 SetMacro Alias$@RunType_DFE Run <Fireworkz$Dir>.!Run %%*0

If you comment the second one out with a | Fireworks won't grab the
file.

Schma probably has very similar command - but Fireworks has been
seen first, so Schema sees it has been set.

This discussion has prompted me to try and fix a minor irritation I 
have had for some time, in that Fireworks grabs CSv files, whereas I 
want Pipedream to do so.

I had done something earlier, which resulted in StrongED grabbing
them  instead. I can't remember what.

Accordingly I altered both boot files so that Alias$@RunType_DFE now 
points to Pipedream.

However despite that, when I double-click a CSv file StrongED opens
it  instead. Why???

The Alias$@RunType variable is only half of the story - it's used to
tell the Wimp what application to start, but only if no running
application has already claimed the file.

Before the it gets to this stage, the Wimp sends a message to all the
open applications allowing them the option of opening a file. If any
running application acknowledges the message, it gets to open the file
whatever the Alias$RunType variable is set to.

So if StrongED is configured to open CSV files and is running, whenever
you double-click on one StrongED will get to open the file rather than
allowing the Wimp to open Pipedream.

You need to configure StrongED so that it doesn't respond to CSV files
if you want to ensure that Pipedream always gets them.

-- 
Nick Roberts           tigger @ orpheusinternet.co.uk           

Hanlon's Razor: Never attribute to malice that which
can be adequately explained by stupidity.
---
To alter your preferences or leave the group, 
visit //www.freelists.org/list/armini-support
List-related queries to info@xxxxxxxxxxxx

Other related posts: