Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
wdmartin
Senior Member
 
Join Date: May 2013
Posts: 240

Old February 13th, 2019, 01:45 PM
I wrote an XSL script that generates BBcode for all of the attack/damage rolls for each creature in a portfolio. It contains this line:

Code:
<xsl:output encoding="utf-8" method="text" />
When I run the script, Hero Lab wants to save the output as a .htm file. After it's saved, the program shell executes the new file, causing it to open up in my browser even though it's plain text and thus renders as a giant unreadable blob.

I can manually change the file extension from "htm" to "txt" in the save dialog, so it's not a huge deal. But that's an extra step I could live without.

Is there anything I can do to the XSL script to signal Hero Lab to use a .txt extension by default in this case?
wdmartin is offline   #1 Reply With Quote
Azhrei
Senior Member
 
Join Date: Sep 2015
Posts: 435

Old February 14th, 2019, 05:45 AM
Not that I know of. In fact, I tried changing the ".htm" to ".html" and HL named my file with ".html.htm" at the end?!?! PITN.

"It's the little things that matter most."
Azhrei is offline   #2 Reply With Quote
wdmartin
Senior Member
 
Join Date: May 2013
Posts: 240

Old February 14th, 2019, 09:17 AM
Too bad. Oh, well!
wdmartin is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:50 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.