Page 1 of 1
checkboxes unchecked as default
Posted: 2009-11-07 13:22:53
by mortenl
I like the Ant Catalogue program very much. But here is a question. I use the optional checkboxes to show which movies I have seen, so I would like the unchecked state to be default. Is this possible ?
Cheers
Morten
Posted: 2009-11-07 13:44:50
by bad4u
There are two ways you can do this. Either add the line
to the script that should set the checkbox unchecked when movie information are downloaded, or open your preferences file prefs.xml (from your Ant Movie Catalog installation folder) with a text editor, search for the DefaultMovie node (values for width and height might differ on your system)
Code: Select all
<DefaultMovie WindowWidth="570" WindowHeight="560">
<Values Number="0" Checked="True"/>
</DefaultMovie>
and replace the Checked="True" with Checked="False". This effects general behaviour of AMC and now the checkbox will be unchecked whenever you add a new movie and for any script.
Posted: 2009-11-07 14:48:19
by mortenl
Thank you, bad4u, This was just what I needed.
Morten
Posted: 2011-10-03 16:42:03
by remyremy
Hi,
I tried that but the checkbox is still checked when I add a new movie with a script.
I have:
Code: Select all
<DefaultMovie WindowWidth="570" WindowHeight="560">
<Values Number="0" Checked="False"/>
</DefaultMovie>
But where should I add the following line in my script?
setField(fieldChecked, 'False');
(script: IMBD.ifs)
Thanks!
Posted: 2011-10-04 16:13:52
by antp
It should work by changing prefs.xml

At least in versions 3.5.x
If you are using Windows Vista or 7, the prefs.xml file actually used may be in the virtualstore instead of being in program files folder:
go to c:\users\(your name)\appdata\local\virtualstore\program files\...
Posted: 2011-10-04 16:41:55
by remyremy
Oups I forgot to precise, I'm using AMC Unofficial 3.8.1
Shouln't be the same?
My folder virtualstore is empty... not even program files folder...
i'm using Win7 and the hidden files/folders are displayed.
Any idea?
Thanks for you help
Posted: 2011-10-04 22:20:01
by soulsnake
Oups I forgot to precise, I'm using AMC Unofficial 3.8.1
Shouln't be the same?
<DefaultMovie WindowWidth="570" WindowHeight="560">
<Values Number="0" Checked="True"/>
</DefaultMovie>
Sorry, this doesn't work with AMC Unofficial 3.8.1 because checkbox is always set to True when a new movie is added

.
This is now corrected in AMC Unofficial 3.8.2

.
Posted: 2011-10-05 15:35:11
by remyremy
Indeed it works now!

Merci!