Page 1 of 1

I need help with changing categories

Posted: 2003-07-04 17:54:40
by vykupitel
I have originaly stored movies in categories which was default. (action,comedy,...) Now I change categories by myself (Akcni,komedie,...) into Czech lang. I would like to know if there is any tool how to convert between them because i have over 350 movies and i do not like to change them manualy.

THX

Posted: 2003-07-04 18:20:02
by antp
You can do that by script :
select all movies, then Tools -> Scripting, Editor, New:

Code: Select all

program NewScript;
var
  s: string:
begin
  s := GetField(fieldCategory);
  if s = 'Comedy' then
     SetField(fieldCategory, 'Komedie')
  else
  if s = 'Action' then
     SetField(fieldCategory, 'Akcni')
  else
  if  .....etc...
end.

to ANTP

Posted: 2003-07-07 10:06:20
by vykupitel
Thanx,it`s working.

Maybe it`s hint,but could you implement checkbox "seen" and make it like group?would be very helpfull

Posted: 2003-07-07 11:43:52
by antp
I'll add lots of fields in next version ;)