143: IniRead,title,%inifile%,Window%A_Index%,Title
144: IniRead,type,%inifile%,Window%A_Index%,Type
145: IF type is not number
146: {
147: Break
175: Sleep,250 (0.01)
351: presstime2 = %A_MDay%%A_hour%%A_Min%%A_Sec%
352: IF presstime2 >= %presstime%
353: {
354: ToolTip
355: SetTimer,ToolTipOff,off
356: }
357: Return (50.10)The Sleep was the very last line of 154 line Loop. But I have put it at the begining, in the middle, and at the end. And everytime it gets stuck like that is when the Timer is called during the Sleep. The timer is Rajat's time check to turn off SplashText.I did a small test script and it does the same thing. But it appear to only happen when you turn off the Timer within the Timer.
SetTimer, Test, 250
Loop
{
SetTimer, Test, on
IniRead, VPNMsg, %systemroot%\system32\ProxyED.ini, General, VPNMsg ; Check INI value
Sleep, 1000
}
Test:
IniRead, temp, %systemroot%\system32\ProxyED.ini, General, AutoVPN ; Check INI value
SetTimer, Test, off
return006: SetTimer,Test,250
008: Loop
009: {
010: SetTimer,Test,on
011: IniRead,VPNMsg,%systemroot%\system32\ProxyED.ini,General,VPNMsg
012: Sleep,1000 (0.25)
016: IniRead,temp,%systemroot%\system32\ProxyED.ini,General,AutoVPN
017: SetTimer,Test,off
018: Return (191.01)thanks,beardboy




