4239Re: [NH] Hyperlink to local index.html
- Dec 7, 2003Hi Jeff
----- Jeff wrote:
> Is there a way to produce te results as a new document? instead of in aThe ^!info was just for demonstration.
> messsage window?
You can do the following:
append this lines to the clip:
^!toolbar new document
OR save directly to new file:
^!texttofile "c:\test\new.htm" ^%files%
CAUTION: If "new.htm" already exists, it will
be overwritten by the "texttofile" command
> would changing the ("^%path%";"*.htm";name) to ("^%path%";"*.*";name)Right.
> create FULL directory?
You gan also specify two (or several) file extensions:
And you even could include subdirectories:
^ the plus sign lets the function search through
To insert images instead of hyperlinks replace this line:
with this one:
^!set %files^%ct%%=<img src="^$filetourl(^%files^%ct%%)$"
;end of line
To have a relative path instead of an absolute one
you first have to know where your html file will be
If the file is in the same directory with the pictures
you don't need a path at all.
See the help file about ^$GetRelativeName$
BTW: Your last message went just to me, not to the list;
to get advice from all experts here you should always
write to the list, if your subject is not off topic.
- << Previous post in topic Next post in topic >>