I need help with changing categories

If you need help on how to use the program
Post Reply
vykupitel
Posts: 6
Joined: 2003-07-04 17:51:19

I need help with changing categories

Post 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
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
vykupitel
Posts: 6
Joined: 2003-07-04 17:51:19

to ANTP

Post 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
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I'll add lots of fields in next version ;)
Post Reply