Thanks Angel,
I found out using the state record. Two points are to take into account :
- use backgroundcolor instead of background in the condition part
- use hexadecimal colors instead of color names

Which gives :
if (backgroundcolor="[xffffff]"); background black; else; background white; endif;

Le 4 nov. 08 à 17:56, Angel Herraez a écrit :

Hi Paul

I'll bet that the variable you need to read is not called
"background"
1.- Ask for the state and look for the real name.
2.- Better use "color background xxx", as "background xxx" is
deprecated.




---------------------------------------------------------------------- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to