/ native-host / start-bridge.vbs
start-bridge.vbs
 1  ' Mnemonic Workspaces Bridge - Startup Script (Hidden)
 2  ' This script starts workspaces-bridge.py without showing a console window.
 3  ' Place a shortcut to this file in your Startup folder, or use Task Scheduler.
 4  
 5  Dim objShell, scriptDir, pythonScript
 6  
 7  Set objShell = CreateObject("WScript.Shell")
 8  
 9  ' Get the directory where this script is located
10  scriptDir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
11  
12  ' Path to the Python script
13  pythonScript = scriptDir & "\workspaces-bridge.py"
14  
15  ' Run Python with the bridge script (0 = hidden window, False = don't wait)
16  objShell.Run "python """ & pythonScript & """", 0, False
17  
18  Set objShell = Nothing