Hey all, thought I’d share a little autoIt script I’ve been using a to keep TouchPlayer active on an installation machine at all times, I was trying to use setForeground() in Python to keep the window on top (but didn’t get it working), I just compile this script as an exe in autoit and have it running in parallel checking touch every 20 seconds… if anyone has a more elegant or a touch based solution I’m all ears
This looks really useful…question about the script…do you need to input a title for the application? I haven’t gotten it running yet, so just checking. Current code looks like:
Func win($TITLE, $TEXT)
IF WinExists($TITLE, $TEXT) Then
IF NOT WinActive($TITLE, $TEXT) Then
WinActivate($TITLE, $TEXT)
EndIf
EndIf
EndFunc
$TITLE = "TouchDesigner.exe"
$TEXT = ""
While 1
win($TITLE, $TEXT)
WinActive($TITLE, $TEXT)
Sleep(20001)
WEnd