mirror of
https://github.com/Andre-Bzk/FocusFix.git
synced 2026-11-15 09:33:14 +01:00
Prototyp
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user