Re: launching a PDF from a link

2018-06-28 Thread Gavin Wraith
In message <570f5c0542...@timil.com>
  Tim Hill  wrote:

>In article , Richard Porter
> wrote:

>I'm expecting to find a utility somewhere which will monitor a specific
>folder and filer_run anything saved there but having no luck so far.

Talk of monitoring implies something that runs as a task and which
stores the state of the folder and only acts when it notes that the
state has changed. For a lot less effort you could have a utility
that you start yourself, say by doubleclicking on its icon,
that simply filer_runs whatever appropriate stuff it finds in the folder.
But maybe the whole point of what you are looking for is that it
acts automatically without the user having to start it?

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: launching a PDF from a link

2018-06-28 Thread Tim Hill
In article , Richard Porter
 wrote:
> On 28 Jun 2018 Jim Nagel  wrote:

> > When you click the link for a Jpeg (or various other types of file),
> > the file opens immediately.  Why does PDF behave differently?  What
> > is the mechanism involved?

> I think that offering a save dialogue is the norm. Netsurf processes
> JPEG, GIF and PNG files itself, plus html and text of course, so
> there's no need to save them.

It's easy to think NetSurf really ought to have to option to Filer_Run
any file it doesn't understand after downloading it but it doesn't; it 
leaves you to do that which is fine up to a point but a shame because it
prevents sound and video playing from a link, just as it makes you open
your downloaded PDFs 'manually'. 

I'm expecting to find a utility somewhere which will monitor a specific
folder and filer_run anything saved there but having no luck so far.

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk



Re: launching a PDF from a link

2018-06-28 Thread Richard Porter
On 28 Jun 2018 Jim Nagel  wrote:

> When you click the link for a Jpeg (or various other types of file),
> the file opens immediately.  Why does PDF behave differently?  What is
> the mechanism involved?

I think that offering a save dialogue is the norm. Netsurf processes JPEG, 
GIF and PNG files itself, plus html and text of course, so there's no need 
to save them.

> And why does the PDF link cause BOTH the download dialogue AND a blank
> web page to appear?

It doesn't unless there's a target="_new" argument or equivalent and 
you've got "Allow links to open in new windows" ticked in Choices > 
Content.

BUT

It's different if you click on an html link in Messenger Pro. In that case 
NetSurf always opens a new window and then decides what to do. I raised a 
feature request about this ages ago, but to no avail.

Richard
-- 
Richard Porter  http://www.minijem.plus.com/
t: @westernexplorer mailto:r...@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.