open a HTML document from inside Nisus

Get help using and writing Nisus Writer Pro macros.
Post Reply
js
Posts: 229
Joined: 2007-04-12 14:59:36

open a HTML document from inside Nisus

Post by js » 2010-06-25 05:50:42

I know how to open an URL from inside Nisus. But how does open a HTML document on my hard disk? Or has this to be done via an Appel script?

Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: open a HTML document from inside Nisus

Post by Kino » 2010-06-25 06:28:07

If you want to open it not in NWP but in the default app for html (you are not clear about this), something like this will do the job:

Code: Select all

Open URL 'file:///Users/you/Documents/testfile.html'

js
Posts: 229
Joined: 2007-04-12 14:59:36

Re: open a HTML document from inside Nisus

Post by js » 2010-06-25 07:04:28

Thank you. Yes, this is what I wanted: to have Nisus open my HTML file on disk in Safari.

In fact I had tried what you do. But I see now that the problem came from empty spaces in the file name. Spaces appear in the file name of the URL as "%20". But I don't know how to outquote these.

Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: open a HTML document from inside Nisus

Post by Kino » 2010-06-25 08:06:11

Just replace “%20” in the file path with “ ” (space).

Post Reply