mirror of
https://github.com/Andre-Bzk/FocusFix.git
synced 2026-11-15 09:33:14 +01:00
16 lines
545 B
Plaintext
16 lines
545 B
Plaintext
Set WshShell = CreateObject("WScript.Shell")
|
|
|
|
' 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
|
|
|
|
' Spiel starten: alle Argumente (= Steam %command%) zusammensetzen und ausführen
|
|
Dim gameCmd, i
|
|
gameCmd = ""
|
|
For i = 0 To WScript.Arguments.Count - 1
|
|
gameCmd = gameCmd & """" & WScript.Arguments(i) & """ "
|
|
Next
|
|
|
|
If gameCmd <> "" Then
|
|
WshShell.Run gameCmd, 1, False
|
|
End If
|