[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] OSCLI question
- To: stronged@xxxxxxxxxxxxxx
- Subject: Re: [StrongED] OSCLI question
- From: Bob Latham <bob@xxxxxxxxxxxxxxxx>
- Date: Sat, 14 May 2016 12:06:16 +0100
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mightyoak.org.uk; s=default; h=Content-Type:References:In-Reply-To: Message-ID:Subject:Date:To:From:MIME-Version:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WYpziOPVhqFeX2tf1OJFMAP8y+iHFRFTv9HCxX6u2D4=; b=jJHPAoIb96y3VNC3H2/wpfguo 7H64OjXDx/uAwYd4iNKhDDh9q7qZ/p7d4D7UX+IKpEyVBUKwxVjcI7k28a2o9uHbUuj1vpcftf5qr +7IKEi6WlkiXwm2l9LBykeZVT00wgzLlIAlFroJFZnoZOY7Yx9xRxKXOpfblHidLVxdrM=;
- Envelope-to: stronged@xxxxxxxxxxxxxx
- In-reply-to: <firstname.lastname@example.org>
- List-id: RISC OS StrongED mailing list
- References: <email@example.com> <firstname.lastname@example.org>
- Reply-to: StrongED@xxxxxxxxxxxxxx
In article <5563158055.gavin@xxxxxxxxxxxxxxx>,
Gavin Wraith <gavin@xxxxxxxxxxxxxxx> wrote:
> In message <55800f95d8bob@xxxxxxxxxxxxxxxx>
> Bob Latham <bob@xxxxxxxxxxxxxxxx> wrote:
> >I was mistakenly under the impression that pointing R0 at a path string
> >with a text file as the leaf name would be the equivalent of double
> >clicking the file. If I double click the file it will load into
> >StrongEd which is already loaded or if not loaded, will load it and
> >then open in it.
> >Not so OSCLI. OSCLI always loads another copy of StrongEd and gives the
> >warning that it is already running.
> >Is there an easy way around this to get the same effect as a double
> I believe the standard way to achieve this is to start up a task which
> broadcasts a DATALOAD message (see page 3-253 of PRMs) with R1+44
> being the address of a zero-terminated string holding the pathname
> of the file; and, in your case, R1+40 holding &FFF.
Thanks for the help.
Oh dear. I hate writing 'message' code it gets so involved with
acknowledges etc. avoid at all cost life is too short. :-)
Also, presumably I'm then locked to the text file popping up in StrongEd
alone and not the current text editor.
Is there not an easier way to get the current text editor to open a text
Stourbridge, West Midlands
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx
List archives at http://www.Torrens.org.uk/RO/StrongED/index.html