Created
April 9, 2025 18:04
-
-
Save snipem/88fc9f30f52510ebf0531904bdc63a8d to your computer and use it in GitHub Desktop.
Toogle Bloops for iRacing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set WshShell = CreateObject("WScript.Shell") | |
| Set WMI = GetObject("winmgmts:") | |
| processName = "Bloops.exe" | |
| exePath = "CHANGE ME TO YOUR HOME DIR\AppData\Local\Bloops\current\Bloops.exe" | |
| found = False | |
| For Each p In WMI.ExecQuery("Select * from Win32_Process Where Name = '" & processName & "'") | |
| found = True | |
| p.Terminate() | |
| Next | |
| If Not found Then | |
| WshShell.Run """" & exePath & """", 0 | |
| End If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment