Re: OT: html code to open a document in kwrite?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Stephen Partington
Date:  
To: joe, Main PLUG discussion list
Subject: Re: OT: html code to open a document in kwrite?
HTML? no. Javascript? possible. Most of the web is really designed to not
allow this. There are some powerful JS writers, LibreOffice in the web and
more.

On Fri, May 31, 2019 at 10:16 AM Joe Lowder <> wrote:

> Is it possible to write (the simplest possible)
> html code that will open a text file from a simple
> menu entry using the 'kwrite' editor ... that will
> allow me to write and edit in a pre-named text file
> and save the changes?
>
> I do this now from the command line:
>
> $ kwrite filename <E>
>
> But I would like to be able to do it by simply
> clicking on an entry in a simple html menu.
>
> These attempts do not work:
> <li><a href=file:/home/joe/notes>open notes text file</a>
> <li><a href="exec kwrite notes">open notes with kwrite</a>
> <li><a href="exec /usr/bin/kwrite notes">open notes with exec</a>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss




--
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss