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.


preset = PresetInfo:GetSelectedChannel()
if preset ~= nil then
    presetName = preset.PresetName

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.