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?
Update custom script
Re: Update custom script
gTag.SavetoFile uses only 2 parameters now, this is the working version :
Code: Select all
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 );
until not tg_skip;
end.
Re: Update custom script
Thank you very much, now my script works like a charm.
Re: Update custom script
Hello,
I've build a script with an older version of The Godfather to copy composer tag to the lyricist tag.

I've build a script with an older version of The Godfather to copy composer tag to the lyricist tag.



You can join us for best pass-4sure.info exam & oracle training solutions. Our wikipedia contains all those materials you want to pass for Northwestern University exam & ase Intel