Dave
*****************************
------ Forwarded message ------
To: Newsgroup: comp.sys.acorn.apps
Date: 04 Oct 2009 1510
Subject: Automatic File Calling
Newsgroup: comp.sys.acorn.apps
I keep a log of letters that I send. The record is kept in a Eureka
spreadsheet.
One of the items of information that I store on the spreadsheet is the
file location. An example would be - "Iyonix.$.DTP And
Documents.Files.Purchases.Train Companies.Virgin.Virgin 3".
Using this as an example, when I want to access this file to do a reply or
read the letter I open the root directory then the DTP And Documents
directory etc.
What would be useful would be if I could double click the Eureka cell
where the file location is held with the result that the file then opens.
Almost as useful would be the facility to highlight the cell where the
file location is held and save it out as text and Ctrl-V it into a window
of an application that would then open the file.
Can anyone kindly advise if there is any way that such a shortcut could be
facilitated please?
Thank you.
------ End forwarded message ------
--
Best wishes
Robert
--
Dave Triffid
> In article <50a598a...@triffid.co.uk> Dave Symes wrote:
>> What would be useful would be if I could double click the Eureka cell
>> where the file location is held with the result that the file then opens.
> <snip>
>> Can anyone kindly advise if there is any way that such a shortcut could
>> be facilitated please?
> Two possibilities:
> 1. Use AppDock - freeware from Martin W�rthner
> 2. Stick the files on to your backdrop
Sorry, I cannot see how either of your suggestions would do what
Robert asked for. AppDock (or one of the dozens of other utilities of
its kind) might allow you to open the right directory quickly, but
only if there is just a small number of such directories involved
(there could be dozens or hundreds), and searching for the right file
inside the directory would still be a time-consuming task.
Martin
--
---------------------------------------------------------------------
Martin Wuerthner MW Software http://www.mw-software.com/
ArtWorks 2 -- Designing stunning graphics has never been easier
spam...@mw-software.com [replace "spamtrap" by "info" to reply]
> Dave
[Snip]
> Date: 04 Oct 2009 1510
> Subject: Automatic File Calling
> Newsgroup: comp.sys.acorn.apps
> I keep a log of letters that I send. The record is kept in a Eureka
> spreadsheet.
> One of the items of information that I store on the spreadsheet is the
> file location. An example would be - "Iyonix.$.DTP And
> Documents.Files.Purchases.Train Companies.Virgin.Virgin 3".
[Snip]
> What would be useful would be if I could double click the Eureka cell
> where the file location is held with the result that the file then opens.
Can't help with Eureka - can't see any easy way of doing what you want.
However if you were to use a copy of Datapower2 then it would be easy
enough to set up a system to get what you want. Datapower has a Field type
of File into which you can drag actual files for storage. If you Ctrl-Drag
the file into the field it stores just the file disk address so that
double-clicking on the field opens the relevant file. Only snag is that it
doesn't display the filename so you would also need an accompanying text
field to hold that (though there if I have a feeling it might be possible
to automate that, my memory of DP2 is a bit rusty).
Not quite as straightforward as entering names into Eureka but DP2 is very
flexible in its layout design and it would be simple to set up a
spreadsheet lookalike if you wanted it. Alternatively you could just set
up a set of DP2 files, one for each type of letter and link these in a
'front page'.
Cheers
Alan
[Snip]
[Snip]
--
Alan Calder, Milton Keynes, UK.
> My friend Robert is having a bit of bother posting ATM. so I'm posting
> this on his behalf.
> He really would appreciate some thoughts.
I wonder if (ex-)Quantum Software's (commercial but now free) !KeyStroke
macro recorder: see: http://quantumsoft.riscository.com/ could do this -
you'd probably need to select the field then press some key combination
which would hopefully extract the filename and then issue a Filer_Run
command for it.
Otherwise, it's possible that Eureka is not helping matters... If the index
was in a plain text file I have a feeling that StrongED can be persuaded to
do something with a highlighted field, in the same sort of way that it can
do something with a URL (open a browser or mail client).
--
Jeremy C B Nicoll - my opinions are my own.
Email sent to my from-address will be deleted. Instead, please reply
to newsre...@wingsandbeaks.org.uk replacing "nnn" by "284".
[snip]
> If the index was in a plain text file I have a feeling that StrongED
> can be persuaded to do something with a highlighted field, in the same
> sort of way that it can do something with a URL (open a browser or
> mail client).
Yes. In StrongED's BaseMode ModeFile, the Search section needs to
contain
<tab>Filename1<tab>"ADFS::" {~(Ctrl|White) Any}+
<tab>Filename2<tab>"CDFS::" {~(Ctrl|White) Any}+
and the Clicklist section
<tab>Filename1<tab>Run("Filer_Run <StrongED$Tmp_MarkWord>")
<tab>Filename2<tab>Run("Filer_Run <StrongED$Tmp_MarkWord>")
where <tab> represents the tab character. Other filing systems can be
added as required.
A full path, displayed in a StrongED window, will then be highlighted,
and double-clicking it will open the file (or directory, or run the
application).
Tony
--
Bernard
[snip]
> Yes. In StrongED's BaseMode ModeFile, the Search section needs to
> contain
> <tab>Filename1<tab>"ADFS::" {~(Ctrl|White) Any}+
> <tab>Filename2<tab>"CDFS::" {~(Ctrl|White) Any}+
> and the Clicklist section
> <tab>Filename1<tab>Run("Filer_Run <StrongED$Tmp_MarkWord>")
> <tab>Filename2<tab>Run("Filer_Run <StrongED$Tmp_MarkWord>")
> where <tab> represents the tab character. Other filing systems can be
> added as required.
> A full path, displayed in a StrongED window, will then be highlighted,
> and double-clicking it will open the file (or directory, or run the
> application).
That's a very useful hint, now implemented here. However, I don't get
the filename highlighted; is this because I'm using black-on-white? If
so, how do I get it highlighted in a suitable colour?
TIA,
With best wishes,
Peter.
--
Peter, \ / \ Prestbury, Cheltenham, Glos. GL52
Anne \ / __ __ \ England.
and / / \ | | |\ | / _ \ http://pnyoung.orpheusweb.co.uk
family / \__/ \_/ | \| \__/ \______________ pny...@ormail.co.uk.
[snip]
> That's a very useful hint, now implemented here. However, I don't get
> the filename highlighted; is this because I'm using black-on-white? If
> so, how do I get it highlighted in a suitable colour?
Sorry, I missed out one step. In the BaseMode ModeFile find the line
which starts with SyntaxWords Group8 then add ' adfs:: cdfs::' (without
quotes) to the following line. The two lines should then read:
SyntaxWords Group8 EndOfExpr ee_url nocase
<tab>https:// http:// ftp:// telnet:// file:/ mailto: news: stronghelp: www. adfs:: cdfs::
Tony
> [snip]
Yes, that's done the business; many thanks again. I don't know what we
ignoramuses would do without the likes of Tony. Certainly, the
mysteries of StrongED's colouring are way beyond me.
I have these two messages safely stored away, for future reference.
That ctrl-C works here through using !IcnClipBrd by Thomas Leonard and
Steve Fryatt (from www.stevefryatt.org.uk/software/clipboard). Ctrl-V
then works into standard writable icons (e.g. save boxes) but not into
that bit of David Ruck's Command Control which might take a filespec
for its Filer_Run command.
So perhaps one could write a wee utility with Dr Wimp that accepted
ctrl-V pasting and performed a Filer_Run on it?
> I don't know what we ignoramuses would do without the likes of Tony.
Kind words - many thanks - but none of us would have anything to discuss
without the tireless development efforts of Fred Graute.
Tony
> Tony
Is he any good at tiling? ;-)
Dave
--
Dave Triffid
> So perhaps one could write a wee utility with Dr Wimp that accepted ctrl-V
> pasting and performed a Filer_Run on it?
Ctrl-F12 (with Zap or StrongED) followed by typing
*Filer_Run
and then a paste-from-clipboard (Ctrl-Y or Shift-Ctrl-V respectively)?
--
Steve Fryatt - Leeds, England
> I keep a log of letters that I send. The record is kept in a Eureka
> spreadsheet.
> What would be useful would be if I could double click the Eureka cell
> where the file location is held with the result that the file then opens.
Eureka would need enhancement to do that, and I am sure it will never
be worked on again, so...
> Almost as useful would be the facility to highlight the cell where the
> file location is held and save it out as text and Ctrl-V it into a window
> of an application that would then open the file.
I mentioned writing an application to do just that, and I have now
made one
using Ray Favre's Dr Wimp package.
The ctrl-C ias to be from the Eureka cell-editing window, not the cell
itself, and
depends on the IcnClipBrd module I mentioned. Then ctrl-V into an
iconbar submenu
of my app (currently called !Pasty) sends the file (or directory) name
to Filer_Run (or Filer_OpenDir).
You would use the first of those to open the chosen file in its typed
application.
I can send !Pasty to anone interested. Just ask.
Use !FrontEnder (or !FEer) from Dave Watson (first version by Chris
Williams) from
http://homepage.ntlworld.com/the.watsons/frontender
and make a little child app called, say, !Filer_Run which includes the
following script (say):
# FrontEnder script for Filer_Run
child_info
{
name: Filer_Run by FrontEnder
purpose: Filer_Run pasted name
version:
author:
command: Filer_Run
wimpslot: 640
postexe:
}
Main_window
{
icon: writeable "Paste" "" "" 255 500 right
icon: action "OK" "control" "" centre
}
Bob might well be your uncle.
(1) if it includes discname it should include filingsystem as well,
and
(2) any apparent spaces should be hard spaces (&A0) not the keyboard
variety (&20).