2015-09-26, 08:49 AM
Hi Sub,
Win 7 Home edition.
Upgraded to Norton Security 2015 from NIS this week and "Always on top" now loses focus at 2 mins and again at 3 mins from reboot.
If Norton is disabled, focus stays with NPVR â no problems.
Solved it â not elegantly â by putting two files in Windows/Start/All Programs/Startup as below:
(Stay on top box is ticked with this bat file.)
=========
REM .. Start.bat
c:
cd\program files (x86)\NPVR\
start nextpvr.exe -ontop & start nextpvr.exe âupdateepg
==========
AND - second file:
==========
; Remark - Autohotkey file â NPVR.ahk
#WinActivateForce #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;
Timethen= %A_Now%
EnvAdd, Timethen, 2
Timethen += 3, m
start:
if (A_Now >= Timethen)
{
goto done
}
else
#WinActivateForce
IfWinExist, NextPVR
WinActivate ; use the window found above
goto start
done:
exitapp
=======
The += 3, m is set to 3 mins but can be anything longer than the loss of focus.
I know this is not elegant â can it be done within NPVR ? Or, am I missing the obvious ??
(Alternatively â stop using Norton, I guess ..)
Regards
Win 7 Home edition.
Upgraded to Norton Security 2015 from NIS this week and "Always on top" now loses focus at 2 mins and again at 3 mins from reboot.
If Norton is disabled, focus stays with NPVR â no problems.
Solved it â not elegantly â by putting two files in Windows/Start/All Programs/Startup as below:
(Stay on top box is ticked with this bat file.)
=========
REM .. Start.bat
c:
cd\program files (x86)\NPVR\
start nextpvr.exe -ontop & start nextpvr.exe âupdateepg
==========
AND - second file:
==========
; Remark - Autohotkey file â NPVR.ahk
#WinActivateForce #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;
Timethen= %A_Now%
EnvAdd, Timethen, 2
Timethen += 3, m
start:
if (A_Now >= Timethen)
{
goto done
}
else
#WinActivateForce
IfWinExist, NextPVR
WinActivate ; use the window found above
goto start
done:
exitapp
=======
The += 3, m is set to 3 mins but can be anything longer than the loss of focus.
I know this is not elegant â can it be done within NPVR ? Or, am I missing the obvious ??
(Alternatively â stop using Norton, I guess ..)
Regards