PresetInfo
PresetInfo:GetSelectedChannel()
Returns an PresetInfo class/structure.
This function will return a PresetInfo class/structure for the currently selected channel in the channel list on the right in the Preset Documentation view.
It will return nil
if there is an error. It is worth checking for this situation.
Example.
preset = PresetInfo:GetSelectedChannel()
if preset ~= nil then
presetName = preset.PresetName
end