Returns a boolean.

This function will return true if the last preset is selected in the preset list, otherwise will return false. Useful when iterating through the preset list.


PresetDocView:DispatchAction("Select First Preset")
presetListFinished = false
while presetListFinished == false do
    -- Insert code here to do what you want with the preset.
    -- Continue to next preset, or are we done.
    if PresetDocView:IsLastPresetRowSelected() == true then
        presetListFinished = true
        PresetDocView:DispatchAction("Select Next Preset")

This select the first preset in the preset list and step through all the displayed presets.

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.