Update custom script
Posted: Wed Mar 05, 2014 10:16 am
Hello,
I've build a script with an older version of The Godfather to copy composer tag to the lyricist tag.
Program composer_to_Lyricist;
var
sComposer: string;
begin
if not tg_init then exit;
repeat
tg_loadFile;
sComposer := tg_getField( 'Composer' );
gTag.Lyricist := sComposer;
gTag.OrigLyricist := sComposer;
gTag.SavetoFile( 0, false, false );
until not tg_skip;
end.
In the newest version this script is broken due to the updated scripting functions. At the moment I don't get the point how to repair it. Can anyone help me?
I've build a script with an older version of The Godfather to copy composer tag to the lyricist tag.
Program composer_to_Lyricist;
var
sComposer: string;
begin
if not tg_init then exit;
repeat
tg_loadFile;
sComposer := tg_getField( 'Composer' );
gTag.Lyricist := sComposer;
gTag.OrigLyricist := sComposer;
gTag.SavetoFile( 0, false, false );
until not tg_skip;
end.
In the newest version this script is broken due to the updated scripting functions. At the moment I don't get the point how to repair it. Can anyone help me?