Senior Member
Join Date: May 2013
Posts: 1,458
|
OK, I've got a working version of a PowerShell-built GUI. I need to polish some things up before I post it, and how long that takes depends on a few real-life things I have to do.
Why can't I just win the lottery? :-( |
#61 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
Because we need you... right here... doing this... for us
Realm Works - Community Links Realm Work and Hero Lab Videos Ream Works Facebook User Group CC3+ Facebook User Group D&D 5e Community Pack - Contributor General Hero Lab Support & Community Resources D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base Obsidian Obsidian TTRPG Tutorials |
#62 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
New version up! See the first post in this thread.
EDIT: Yeah, yeah, I know what I said. But it was too late to go to sleep and too early to start making business calls. |
#63 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Actually, I was just going to post that there was a quirk in the GUI script, but then I realized, "No, wait, I can fix that!"
So I did. And the new version is up. There. I'm done for the day. No more scripting stuff today. Gotta do real-life stuff. |
#64 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
Testing has commenced
Realm Works - Community Links Realm Work and Hero Lab Videos Ream Works Facebook User Group CC3+ Facebook User Group D&D 5e Community Pack - Contributor General Hero Lab Support & Community Resources D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base Obsidian Obsidian TTRPG Tutorials |
#65 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Updated the github link in the first post, because apparently, this whole time, I've been doin' it wrong.
https://github.com/EightBitz/RWExport |
#66 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
|
#67 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
OK, another quick update. I accidentally left a line commented out that I commented out for testing. I took out the comment so that line is active now.
I also changed the CSS settings so things look much nicer. I learned about gradients today. :-) Since I updated the CSS file, I reprinted the documentation and releasenotes to PDF to reflect the new CSS formatting. |
#68 |
Senior Member
Join Date: Mar 2014
Posts: 411
|
So I asked (via bug report because I thought it was) about some of the XML that is kind of pointless/ugly/annoying, and got a nice developer response.
My issue was with a text snippet with links in it. (You might have seen my suggestion post as well). In the following example, "AMC", "Aldolore Station" and "Rone Varan" are links within the sentence. "The Aldolore Mining Cartel, also known as the AMC, is a corporation that controls Aldolore Station, Rone Varan and the surrounding asteroid fields." The XML is: <contents> <p class=\"RWDefault\"> <span class=\"RWSnippet\">The Aldolore Mining Cartel, also known as the </span> <span class=\"RWSnippet\">AMC</span> <span class=\"RWSnippet\">, is a corporation that controls </span> <span class=\"RWSnippet\">Aldolore Station</span> <span class=\"RWSnippet\">, </span> <span class=\"RWSnippet\">Rone Varan</span> <span class=\"RWSnippet\">and the surrounding asteroid fields. </span> </p> </contents> That means that if I want to use CSS to pretty up my snippets, my only option is to use the larger RWDEFAULT class rather than just the RWSnippet class that's immeidately around the text. If I use the RWSnippet class and do any positioning or margins, it will mess up individual words in the line. Depending on how RWSnippet is used in other use-cases (I just have really simple images-and-text realms) it might be worth your while to simply filter out the RWSnippet spans, because they do little but add a lot of extra characters to the text (nearly doubling the size in this example). There doesn't seem to be a way that they can change the class of links to a different class to denote a link, according to David, the dev who replied in pretty cool detail to my question. Quote:
Quote:
Last edited by MaxSupernova; January 26th, 2017 at 12:55 PM. |
||
#69 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Quote:
|
|
#70 |
|
|