open a HTML document from inside Nisus

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

open a HTML document from inside Nisus

Post by js »

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 »

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: 259
Joined: 2007-04-12 14:59:36

Re: open a HTML document from inside Nisus

Post by js »

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 »

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