yes henri now I think one thing because I look other program at the same time but I find only two that interested me, yours and lcdhype (hard to program :'( )
I notice one thing that is interesting with flag, and I realize that you can do this:
In the screen.xml:
Code:
<screens>
<screenfile>128x64\intro.xml</screenfile>
<screenfile>128x64\system.xml</screenfile>
<screenfile>128x64\mbm.xml</screenfile>
<screenfile>128x64\memoire.xml</screenfile>
<screenfile>128x64\clock.xml</screenfile>
<screenfile>128x64\hdd.xml</screenfile>
<screenfile>128x64\network.xml</screenfile>
<screenfile>128x64\transition_winamp1.xml</screenfile>
<screenfile>128x64\transition_winamp2.xml</screenfile>
<screenfile>128x64\transition_zoomplayer1.xml</screenfile>
<screenfile>128x64\transition_zoomplayer2.xml</screenfile>
<screenfile>128x64\intro2.xml</screenfile>
</screens>
You will notice that I've made tansition screen and the final file will have the winamp.xml, but I know now that we can freeze a screen by the flag in the winamp.xml (or name we give to this files) and my question is can we go directly to a screen in the futur like this:
Code:
<sequence flag="Winamp.Playing>
<screenfile>128x64\transition_winamp1.xml</screenfile>
<screenfile>128x64\winamp.xml</screenfile>
</sequence>
I explain my idee the sequence detect if winamp (or other program run) and run directly the screenfile in the sequence, but in the winamp.xml we write to stay at winamp screen so the program will run first the transition and after the winamp and stay to the winamp longer as winamp running.
This code has a second advantage, that is you can program lcdinfo to skip the sequence in all other case.... you directly by default program that if winamp running it skip sequence and if user want to have winamp he can make the winamp.xml out of the sequence.
Or you can add in the parameters of the sequence:
Code:
<sequence flag="Winamp.Playing skip=yes/no>
<screenfile>128x64\transition_winamp1.xml</screenfile>
<screenfile>128x64\winamp.xml</screenfile>
</sequence>
A skip option that tell to the program if the user want to skip this when flag is not detected.
You can add skip function after in the parameters of this function too:
Code:
<requireflag>Winamp2.Running</requireflag>
Tell me what do you think about this idee, I'm sure that it's not a bad idee and perhaps you've also think about it.
£+µ

[/code][/quote]