Search found 3 matches

by CathodeRay
2014-02-14 18:13:21
Forum: Ant Movie Catalog > Scripts
Topic: Auto-number a field
Replies: 3
Views: 2289

soulsnake

Whoops - got ahead of myself there! Works much better with your full code. The static variable appears to be stored in scripts.ini, so I suppose you could set it manually there but why bother when your script does it automatically!

Thanks again

CathodeRay
by CathodeRay
2014-02-14 17:43:09
Forum: Ant Movie Catalog > Scripts
Topic: Auto-number a field
Replies: 3
Views: 2289

soulsnake

Cool. A static variable that behaves as you describe is just what I was looking for. Although I had seen them mentioned, I didn't appreciate they were so persistent. I had the related idea (not mentioned earlier) of setting one in a text file, but that seemed a very clunky way of doing ...
by CathodeRay
2014-02-13 12:52:44
Forum: Ant Movie Catalog > Scripts
Topic: Auto-number a field
Replies: 3
Views: 2289

Auto-number a field

Hi

I am trying to write a script to add the next highest unique number to a field. Say I have 100 movies, half online (on HDD), half offline (DVDs). I want to use a field (say source) to add the next highest unique number to that field so I can use that number to ID the DVD so I can find it when I ...