11.05.2016, 16:03   #1755
seriousstas
 
: 14.06.2013
:
: Nissan Qashqai+2
: 3,425
seriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant futureseriousstas has a brilliant future

( ) :
:
man++;
if (man > 1)
    man = 0;
		if (man == 0) {
				if (Man_set_off= utils.ReadINI( set_path + 'settings.ini', 'close_man', 'man_off')==2){
				utils.WriteINI( set_path + 'settings.ini', 'close_man', 'man_off', 1);

				}
				}
if (man == 1) {
	
				if (Man_set_off= utils.ReadINI( set_path + 'settings.ini', 'start_man', 'man_off')==0){
				utils.WriteINI( set_path + 'settings.ini', 'start_man', 'man_off', 1);
								TAB_Timer = window.CreateTimerInterval(TAB_prop);

			}
			}
window.SetProperty("SYS.Man Switch", man);
- :[
:
[start_man]
man_off=0
[close_man]
man_off=0
[time_man]
man_off=0
:
:
function togglePlaylistManager_1(){
.......} 
function togglePlaylistManager_2(){
............}
- .
, (JS) , - :
utils.WriteINI( set_path + 'settings.ini', 'start_man', 'man_off', 0);
- "" ( - ) :
utils.WriteINI( set_path + 'settings.ini', 'close_man', 'man_off', 2); - function togglePlaylistManager_2() - ,
- .

WSHplaylistmanager.js () :
utils.WriteINI( set_path + 'settings.ini', 'close_man', 'man_off', 3);
( window.SetProperty("SYS.Man Switch", man); ) :
if (TAB_set_off = utils.ReadINI( set_path + 'settings.ini', 'close_man', 'man_off')==3){
tab_switch_check()
}

JS :
:
 function on_paint(gr) {
        if (utils.ReadINI( set_path + 'settings.ini', 'close_man', 'man_off')==1){
                             togglePlaylistManager_1();

                    }
    
    if (utils.ReadINI( set_path + 'settings.ini', 'start_man', 'man_off')==1){
                             togglePlaylistManager_2();

                    }
    ........
JS - :
:
p.playlistManager.check("down", x, y);
                                            var set_path = fb.ProfilePath + "\\settings\\";
                                            if(cPlaylistManager.visible) {
				utils.WriteINI( set_path + 'settings.ini', 'time_man', 'man_off', 3);
				}
:
:
     function on_timer(id) {
     				if ( utils.ReadINI( set_path + 'settings.ini', 'time_man', 'man_off')==3){
tab_switch_check2()
		}
- ))
seriousstas