DICE PACKS BUNDLE
Page 1 of 6 123 ... Last
  1. #1

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    1,079

    CSV Table Paster Community Extension - Early Access release

    Note: that this is a community extension and not supported by Fantasy Grounds or Smiteworks USA, LLC.

    MODERATOR: See an update to this extension (with permission) detailed here: https://www.fantasygrounds.com/forum...l=1#post444593

    This extension allows you to copy the contents of a CSV file (comma delimited) and then 'paste' it into any formattedtext field/control as a table. You can also overwrite the contents of a roll table.

    To use it:
    1. Copy the contents of the CSV to the clipboard (CTRL+C or similar)
    2. Open the window that contains the formatted text field/control or the roll table window (if its already open, close it and re-open it).
    3. If you are pasting to a formatted text field, type "#table#" without quotes on a new line where you want the table to show up.
    4. Click the dark green hammer and gear icon at the top left of the desktop.
    5. Click the Convert Clipboard button


    Important

    Version Notes
    V 0.2.0
    • Initial Release


    Let me know if you encounter any bugs, and what they are (copy paste into post please).
    Attached Files Attached Files
    Last edited by Trenloe; July 14th, 2019 at 15:29. Reason: Added updated extension by MK note
    Support:
    https://support.fantasygrounds.com/
    Have a suggestion for a feature? Go here https://fgapp.idea.informer.com

  2. #2

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    This should be very useful, Iokiare!

  3. #3
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,151
    Blog Entries
    9
    How does this compare to this one that was just posted yesterday; https://www.fantasygrounds.com/forum...Table-Importer

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,655
    Blog Entries
    1
    Hi lokiare1 - I cant get it to work... Im messing up the instructions or something else...

    specifically Im doing the following.

    highlight my csv text and copy (tried copying from notepad and from within FG)
    opening a new story entry, adding ##table## on a new line
    click the hammer and click convert clipboard

    i dont see any update...

    my csv text is (pseudo random text, dont try and read any pyscho-babble unto it!)
    One,Fall
    Two,Jump
    Three,Run
    Four,Dive
    Five,Climb
    Six,Count
    Seven,Spell
    Eight,Fight

  5. #5

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    1,079
    The entry should read "#table#" all lowercase without quotes. I'll take a look at this to see if adding roll tables stopped it from pasting normal tables.

    It also only tracks the most recently opened window that has a formattedtext field or control in it. So be sure and open that window (you may have to close and re-open it to set it as the selected window).

    In the future I'm going to look at selecting the window by clicking on it instead.

    Here is a video to show the process (you can't see me copy the text because its offscreen)
    vimeo.com/240217900
    Last edited by lokiare; October 27th, 2017 at 20:46.
    Support:
    https://support.fantasygrounds.com/
    Have a suggestion for a feature? Go here https://fgapp.idea.informer.com

  6. #6

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    1,079
    Quote Originally Posted by LordEntrails View Post
    How does this compare to this one that was just posted yesterday; https://www.fantasygrounds.com/forum...Table-Importer
    Differences:

    • That one is limited to the 5E ruleset, this one works on any CoreRPG ruleset.
    • This one sets the first line of the CSV as the labels.
    • This one can paste tables into any window that has a formattedtext field/control (i.e. items, spells, etc...etc...)
    Support:
    https://support.fantasygrounds.com/
    Have a suggestion for a feature? Go here https://fgapp.idea.informer.com

  7. #7
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,151
    Blog Entries
    9
    Quote Originally Posted by lokiare1 View Post
    Differences:

    • That one is limited to the 5E ruleset, this one works on any CoreRPG ruleset.
    • This one sets the first line of the CSV as the labels.
    • This one can paste tables into any window that has a formattedtext field/control (i.e. items, spells, etc...etc...)
    Great, thanks for educating me. Look forward to getting to a project on my list that can use this.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  8. #8
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,655
    Blog Entries
    1
    Ok so they are both CoreRPG - this one creates inline tables for use in formatted text fields. The other creates rollable tables.
    It does work for me now using #table# instead of ##table##
    What do you mean by the first line is used as labels? On my test runs all cells look like <tr> and no <th>


    ahhhh tried pasting in a rollable table and it also did paste but in my test the first row appeared as a label
    the 2nd and third rows split nicely into columns, but rows 4-8 put everything in column 1.
    Also it seems to make an arbitrary decision to assign 2 values to each roll (eg 1-2, 3-4, 5-6).

  9. #9

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    1,079
    Quote Originally Posted by damned View Post
    Ok so they are both CoreRPG - this one creates inline tables for use in formatted text fields. The other creates rollable tables.
    It does work for me now using #table# instead of ##table##
    What do you mean by the first line is used as labels? On my test runs all cells look like <tr> and no <th>


    ahhhh tried pasting in a rollable table and it also did paste but in my test the first row appeared as a label
    the 2nd and third rows split nicely into columns, but rows 4-8 put everything in column 1.
    Also it seems to make an arbitrary decision to assign 2 values to each roll (eg 1-2, 3-4, 5-6).
    Can you provide a screenshot and the input text you copied? I'll take a look.

    Yeah, it is programmed to do the 2 values, its expected that the user will have to modify the numbers.

    In the next update I might have it do the table header in formattedtext fields/controls as well.
    Support:
    https://support.fantasygrounds.com/
    Have a suggestion for a feature? Go here https://fgapp.idea.informer.com

  10. #10
    Myrdin Potter's Avatar
    Join Date
    Oct 2015
    Location
    East Bay, SF
    Posts
    1,977
    Blog Entries
    4
    I find it amusing that two solutions to entering tables appear (and I have been entering a lot of tables and I have a lot more table entry in frommof me).

    This one makes story entry easy, the other one makes rollable tables. Both are really appreciated.
    Ultimate License. Running Hyperborea and CoC. Asks lots of questions. Mgpotter.com. PureVPN is a tested solution to run games when traveling. https://billing.purevpn.com/aff.php?aff=33044

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in