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.
This commit is contained in:
commit
11a2b2e46e
130 files changed
+19267
No files matched your search
@@ -0,0 +1,24 @@
|
||||
Option Explicit
|
||||
Dim app, doc, pi, lic, token, fso, log, info, bar, ctl
|
||||
Set fso = CreateObject("Scripting.FileSystemObject")
|
||||
Set log = fso.CreateTextFile(WScript.Arguments(0), True)
|
||||
Set app = GetObject(, "MGCPCB.Application")
|
||||
Set doc = app.ActiveDocument
|
||||
Set pi = doc.ProjectIntegration
|
||||
log.WriteLine pi.ProjectFile
|
||||
log.WriteLine "Forward: " & pi.ForwardAnnotationStatus & " Allowed=" & pi.IsForwardAnnotationAllowed
|
||||
log.WriteLine "SynchCES: " & pi.SynchCESStatus & " Allowed=" & pi.IsSynchCESAllowed
|
||||
log.WriteLine "LoadCES: " & pi.LoadCESStatus & " Allowed=" & pi.IsLoadCESAllowed
|
||||
log.WriteLine "Back: " & pi.BackAnnotationStatus & " Allowed=" & pi.IsBackAnnotationAllowed
|
||||
Set lic = CreateObject("MGCPCBAutomationLicensing.Application")
|
||||
token = lic.GetToken(doc.Validate(0))
|
||||
doc.Validate token
|
||||
log.WriteLine "Licensed Forward Allowed=" & pi.IsForwardAnnotationAllowed
|
||||
log.WriteLine "Open PI=" & app.Gui.ProcessCommand("Project Integration", False)
|
||||
For Each bar In app.Gui.CommandBars
|
||||
log.WriteLine "BAR " & bar.Name
|
||||
For Each ctl In bar.Controls
|
||||
log.WriteLine "CONTROL " & ctl.Caption & " ID=" & ctl.Id
|
||||
Next
|
||||
Next
|
||||
log.Close
|
||||
Reference in new issue
Block a user