Files
cbb-refresh-verify-795/tools/close_fixture.vbs
阿白叔 11a2b2e46e Import CBB refresh verify r4 stability baseline
Preserve tested Verify source, authoritative READY checks, bounded bridge retries, diagnostics and failure-only reporting. Include 336-test suite and packaging assets; exclude live Mentor samples, field logs, backups and distributions.
2026-09-29 15:05:20 +08:00

11 lines
366 B
Plaintext

Option Explicit
Dim app, doc, lic, token
Set app = GetObject(, "MGCPCB.Application")
Set doc = app.ActiveDocument
If InStr(LCase(doc.ProjectIntegration.ProjectFile), "\build\background-fixture\") = 0 Then WScript.Quit 2
Set lic = CreateObject("MGCPCBAutomationLicensing.Application")
token = lic.GetToken(doc.Validate(0))
doc.Validate token
doc.Close False
app.Quit