Skip to content

Instantly share code, notes, and snippets.

@snipem
Created April 9, 2025 18:04
Show Gist options
  • Select an option

  • Save snipem/88fc9f30f52510ebf0531904bdc63a8d to your computer and use it in GitHub Desktop.

Select an option

Save snipem/88fc9f30f52510ebf0531904bdc63a8d to your computer and use it in GitHub Desktop.
Toogle Bloops for iRacing
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