Replace Text In List (Custom Field)
Posted: 2025-05-22 00:53:59
I have a custom field that is a list of eight different items and I forgot to change the default value when importing lots of new films.
I'm trying to use a script to change the selected films to a different item in the list, but I have no idea how to do this.
I have tried the following:
Along with everything else I can think of and nothing works. The above code runs, but does nothing. I can copy the default text from the list to a different custom field, but not replace the text in the list. The only information in the help file relating to lists is 'ftList', but I have no idea how to use this to do what I need.
I'm hoping someone can provide some help please.
I'm trying to use a script to change the selected films to a different item in the list, but I have no idea how to do this.
I have tried the following:
Code: Select all
program CustomChange;
var
MovieName: string;
begin
MovieName := ('Films: Newly Imported');
SetCustomField ('WatchedUnwatched', MovieName);
end.
I'm hoping someone can provide some help please.