1
Scripting / Re: How to set a list filter from a plug-in script
« on: September 03, 2020, 09:43:46 PM »
Update: I figured it out. This works:
Code: [Select]
filter_id = null;
for( local i = 0; i < fe.filters.len(); i++ ) {
if ( fe.filters[i].name == "foo" ) filter_id = i;
}
if ( filter_id != null ) fe.list.filter_index = filter_id;