Page 1 of 1

Can I move several movie numbers?

Posted: 2006-09-04 21:55:00
by luuuciano
Can I select some movies and increase their numbers?

It is because I want to add some CDs that I found, and have numbers between some other cds...

(I am using my own coding of course, but it would be nice to sort it by number too)

Posted: 2006-09-05 16:19:35
by antp
Select the movies that you want to have their number increased, then Tools -> Scripting, click "Editor" then the "new" icon, enter the following:

Code: Select all

program NewScript;
begin
  SetField(fieldNumber, IntToStr(StrToInt(GetField(fieldNumber), 0) + 1));
end.
Then click "Run".
You can replace +1 by the increase that you want.

Posted: 2006-09-05 16:55:42
by luuuciano
wow, what a nice little script...
thank you very much antoine!