I totally agree, TeamViewer is awful when you’re using full screen applications.
I wrote an AHK Script to close that (and disable the windows key) when gaming.
Copy/paste if you want to try it out (Copy/paste from a larger script, modify
to your liking… or ignore it
1st use a baby sitter script that is launched at Startup (and loops every 250
ms)
;------------------------------------------------
; Gaming Monitor
;------------------------------------------------
GamingWatch:
{
if WinExist("Grand Theft Auto V") or WinExist("The
Witcher 3") or WinExist("Do Not Starve") or WinExist("Don't Starve") or
WinExist("UnrealTournament") or WinExist("Space Engineers") or
WinExist("TheForest") or WinExist("Elite - Dangerous (CLIENT)")
{
WinGet, GamePID, PID
;Grabs the unique PID for whatever game was
launched
SetTimer, CloseWindowNow, -100
;Stops the timer that watches for a window to open
Run,
%A_ScriptDir%\GamingKeys.ahk,,,GameKeysPID
;Launches the actual script to close TV and Block windows
key
BreakScriptReloader=1
;Stops the script that wathces for a window
to open (yes it's redundant)
winwaitclose, ahk_pid %GamePID%
;Waits for the game window to be closed
{
SetTimer,
CloseWindowNow, %WindowWatchDelay% ;restarts the
script that watches for a game to run
run, "C:\Program
Files (x86)\TeamViewer\TeamViewer.exe" ;restarts team viewer
winwait, TeamViewer
;Waits for Teamviewer to open
WinClose, TeamViewer
;Closes the TeamViewer popup window because
it's annoying to do it myself
process, Close,
%GameKeysPID%
;ends the gaming keys script
BreakScriptReloader=0
;starts the script that wathces for a window
to open (again, still redundant, but it works better)
}
}
Return
;back to the rest of the script
}
Next the actual script (I don’t run it all the time because hot keys are
universal and you can’t activate them just when a particular window is open)
;Script for Gaming -- this needs to be a separate script because hotkeys are
universal and don't live under a IF this structure
; # - win ! - ALT ^
- Control + - Shift
; * - Wildcard -- Launch even if other keys are pressed
; ~ - run the hotkey AND send the hotkey to the window in focus
; UP - activate when key is released, not pressed (e.g. ^V Up:: Some action --
start when V is UP not down)
;******************** GLOBAL Variables ********************
#NoEnv
; Recommended for performance and compatibility with
future AutoHotkey releases.
#Singleinstance force
#InstallKeybdHook
#InstallMouseHook
SetControlDelay -1
;Remove delay of automated controls so user manipulation of mouse isn't
inturrupted.
SendMode Input
CoordMode,Tooltip,Screen ;use the whole
screen for tooltips
SetWorkingDir %A_ScriptDir% ; Ensures a
consistent starting directory.
SetTitleMatchMode, 2 ; Window
Title will match PARTIAL titles contained anywhere in the title
SetKeyDelay 0, 1 ; Allows typing slowly enough that
windows doesn't get confused
Menu, Tray, Icon, pifmgr.dll, 27 ; Creates the icon for the program in the
task tray.
sleep 1500
;Close and disable things
Process, Close, TeamViewer.exe ;End
TeamViewer – it disagrees with full screen anything
Process, Close, tv_w32.exe
;End TeamvViewer’s babysitter
Process, Close, tv_x64.exe
;End TV’s babysitter
Process, Close, Plex Media Scanner.exe ;Plex will
relaunch this later by itself
!Tab::Return
;Disable Alt Tab
#Tab::Return
;Disable Win Tab
LWin::Return
;Disable Widnows Key
Return
From: battlefield-bounce@xxxxxxxxxxxxx
[mailto:battlefield-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Daley
Sent: Tuesday, October 11, 2016 10:59 PM
To: battlefield@xxxxxxxxxxxxx
Subject: [battlefield] Re: Full screen issues
That is crazy. Great find. I will have to be sure to close it.
On Tue, Oct 11, 2016 at 8:54 PM, Loren John Bailey <beetle.loren@xxxxxxxxx
<mailto:beetle.loren@xxxxxxxxx> > wrote:
Man, I've been fighting that issue in one form or another for months. It's
never been as persistent as it was last week though. I was thinking it was my
card/monitor combo that was conflicting.
Oh, I'm about to jump on and play too...so come join anyone that is bored.
On Tue, Oct 11, 2016 at 8:38 PM, Loren John Bailey <beetle.loren@xxxxxxxxx
<mailto:beetle.loren@xxxxxxxxx> > wrote:
Confirmed. That was it. I didn't have to uninstall it, just closed it from the
tray.
On Tue, Oct 11, 2016 at 8:35 PM, Loren John Bailey <beetle.loren@xxxxxxxxx
<mailto:beetle.loren@xxxxxxxxx> > wrote:
Maybe. I have it installed too. Tinkering with it now:
http://battlelog.battlefield.com/bf4/br/forum/threadview/2955065670118503807/
On Tue, Oct 11, 2016 at 8:34 PM, Tim Daley <tim@xxxxxxxxxx
<mailto:tim@xxxxxxxxxx> > wrote:
I do have teamviewer installed. Do you think that it is related?
On Tuesday, October 11, 2016, Loren John Bailey <beetle.loren@xxxxxxxxx
<mailto:beetle.loren@xxxxxxxxx> > wrote:
Hey Mabuti...remember that time we had full screen issues? Good times, right?
Well, just curious...do you have teamviewer or anything like that installed?