Make a LUA command to read the PDB# from a segment's Segment Information window

Started by jeff101

jeff101 Lv 1

In Foldit, when one Tabs on a segment of the protein, a Segment Information window appears for that segment. This window contains things like the score and subscores for that segment, the name of that segment's amino acid, and whatever Notes a player has added about that segment. Is it possible to make a LUA command like GetPDBNumber(segnum) that will return the PDB# that appears in the Segment Information window for segment # segnum? Thanks!