5E Character Create Playlist
  1. #1

    Trying to get the names in a list

    I’m having issues getting the values in a master index window list...
    I have the windowinstance, and I believe the list path is simply .list for the master index windowclass...

    But how do I get the names in the list displayed?

    I’ve tried getChildren, getValue of the windowlist

    I’ve tried a number of methods... I know it’s probably something easy... I’m just tired... but I would appreciate any assistance if possible.

  2. #2
    Perhaps you could give some background on what you’re doing?

    Most code that iterates over all records in a campaign list actually iterates through the database records as supplied by LibraryData.getMappings call in CoreRPG. There are several examples in 5E ruleset.

    Regards,
    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    Perhaps you could give some background on what you’re doing?
    I am trying to sort through the list in the spells window to check for a couple spells loaded from my module.

    Just adding in automation for a few things... but I need to get the list values... even if the links listed are to the database nodes, I could derive the names easily... I just need to figure out how to get the list values...

    Would windowlist.getWindows(true); work?

    wondowlist being the control

    Hoping that would get a list of the available links, that are currently being displayed, which could be thrown into a ‘for do’ loop and split to sClass, sRecord and then I can get the info from there...

    Any input is appreciated
    Last edited by Diablobob; December 25th, 2019 at 15:35.

  4. #4
    Yup... that works!... thanks!

Thread Information

Users Browsing this Thread

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

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