Replace Text In List (Custom Field)

If you need help on how to use the program
Post Reply
TickTock
Posts: 2
Joined: 2017-12-24 18:26:46

Replace Text In List (Custom Field)

Post by TickTock »

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:

Code: Select all

program CustomChange;
var
MovieName: string;
begin
    MovieName := ('Films: Newly Imported');
    SetCustomField ('WatchedUnwatched', MovieName);
end.
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.
Post Reply