Search found 8 matches

by green
2010-01-05 00:32:45
Forum: Ant Movie Catalog > Scripts
Topic: Multiple Arrays, String Comparisons
Replies: 3
Views: 1674

Yes, I did look at other scripts in my installation directory first, and didn't see this either.

Thanks. Worked like a charm.
by green
2010-01-03 06:38:32
Forum: Ant Movie Catalog > Scripts
Topic: Multiple Arrays, String Comparisons
Replies: 3
Views: 1674

Multiple Arrays, String Comparisons

Hello, I'm working on a string comparison function based on the Levenshtein algorithm as a ranking between titles that the user can pick from. This needs a two dimensional array. I've tried: d: array[0..10][0..10] of integer; d: array[0..10, 0..10] of integer; but both give errors (expecting the 'of...
by green
2010-01-03 02:25:59
Forum: Ant Movie Catalog > Scripts
Topic: Scripting over multiple movie entries
Replies: 1
Views: 1077

Scripting over multiple movie entries

Hi, I'm writing a script to merge someone elses AMC catalogue (saved as XML) into my catalogue. It pretty much works (very basic). Is there a file selection dialogue box that I can use, instead of having to ask the user to enter the filename as a string? If I operate over more than 1 movie entry (e....
by green
2008-11-04 17:42:45
Forum: Ant Movie Catalog > Scripts
Topic: SetField(fieldDate, '') doesn't work
Replies: 3
Views: 1456

That was the problem. Didn't notice that field.

Switching between Scripts and Editor must reset those check boxes somehow.
by green
2008-11-03 17:54:53
Forum: Ant Movie Catalog > Scripts
Topic: SetField(fieldDate, '') doesn't work
Replies: 3
Views: 1456

SetField(fieldDate, '') doesn't work

Because I imported a list of movie titles, they all appear at the same date. I'd like to set the date field to empty (the same as checking the date field on the main database window). So I wrote a small script: program ClearDate; const dconst = ''; begin if CanSetField(fieldDate) then begin SetField...
by green
2008-04-28 19:15:05
Forum: Ant Movie Catalog > Bug reports
Topic: Statistics Window with no list
Replies: 8
Views: 3536

Well, after the comment from bad4u, I opened AMC again, but before I opened the statistics window I shifted AMC to the primary monitor. And everything is there as expected. I don't think this is a video driver problem (nVidia 7600GS), but a dual monitor problem. Thanks :D At least I know how to avoi...
by green
2008-04-28 16:51:48
Forum: Ant Movie Catalog > Bug reports
Topic: Statistics Window with no list
Replies: 8
Views: 3536

Not sure how to embed an image directly into the post. I don't have a URL to upload the image to that seems to be implied by the "Img*" in the Forum. I'll try and describe it. And I hope the ASCII art helps. Where I've got (NOTE), that's what's blank. On the left, where you have the list t...
by green
2008-04-28 13:09:22
Forum: Ant Movie Catalog > Bug reports
Topic: Statistics Window with no list
Replies: 8
Views: 3536

Statistics Window with no list

When I upgraded from the previous version to the latest 3.5.1.0 (no uninstall was made), going to the statistics window would show me only the total number of movies. I uninstalled completely, reinstalled (instead of doing the upgrade) and it was there, so I could also look at other things such as t...