mirror of
https://github.com/Andre-Bzk/FocusFix.git
synced 2026-11-15 09:33:14 +01:00
Prozessname automatisch erkennen und titellose Overlay-Fenster ignorieren.
- Prozessname automatisch aus Steam %command% extrahieren (launch.vbs + --process required) - Titellose Overlay-Fenster ignorieren (Wuthering Waves Fix) (Fensterauswahl + Wechsellogik)
This commit is contained in:
+7
-1
@@ -1,7 +1,13 @@
|
||||
Set WshShell = CreateObject("WScript.Shell")
|
||||
|
||||
' Prozessname aus dem ersten Argument (Steam %command%) extrahieren
|
||||
Dim exePath, fso, exeName
|
||||
Set fso = CreateObject("Scripting.FileSystemObject")
|
||||
exePath = WScript.Arguments(0)
|
||||
exeName = fso.GetBaseName(exePath)
|
||||
|
||||
' Foreground-Fix Script unsichtbar starten (pythonw = kein Konsolenfenster)
|
||||
WshShell.Run """C:\Projekte\Steam_backgroud_fix\.venv\Scripts\pythonw.exe"" ""C:\Projekte\Steam_backgroud_fix\foreground_fix.py""", 0, False
|
||||
WshShell.Run """C:\Projekte\Steam_backgroud_fix\.venv\Scripts\pythonw.exe"" ""C:\Projekte\Steam_backgroud_fix\foreground_fix.py"" --process """ & exeName & """", 0, False
|
||||
|
||||
' Spiel starten: alle Argumente (= Steam %command%) zusammensetzen und ausführen
|
||||
Dim gameCmd, i
|
||||
|
||||
Reference in New Issue
Block a user