techsmith-hello-world
Prove an approved Windows Snagit installation with a non-capturing COM creation probe and optional operator-approved window capture. Use when validating a new TechSmith workstation safely. Trigger with "TechSmith hello world", "test Snagit COM", or "verify Snagit automation".
Allowed Tools
Provided by Plugin
techsmith-pack
18 source-grounded operator skills for safe Snagit and Camtasia desktop automation
Installation
This skill is included in the techsmith-pack plugin:
/plugin install techsmith-pack@claude-code-plugins-plus
Click to copy
Instructions
Snagit Verified COM Probe
Overview
This skill separates installation proof from screen capture: the default hello world creates the supported COM object and verifies its expected members without calling Capture(). An optional second phase captures one operator-selected window only after scope and destination approval.
Prerequisites
- Windows with Snagit installed and licensed for the current user
- An interactive desktop session; COM capture is not a headless web API
- Approval to instantiate the local COM server
- Separate approval and an approved destination for any optional capture
Tool Discipline
Use Read, Glob, and Grep to inspect local scripts, manifests, logs, and tests. Use WebFetch only for current primary TechSmith documentation. Use Write or Edit only after confirming the target repository file and approval boundary.
Current Contract
- Use the current ProgID
Snagit.ImageCapture.1; official samples also demonstrateSNAGIT.ImageCapture. - The safe default stops after object creation and member inspection.
- If capture is approved, use window input
1and file output2, not historical values from this pack. - Wait for asynchronous completion and validate the returned file before declaring success.
Licensing and Authentication
TechSmith desktop activation is not API authentication. Resolve individual sign-in versus business-key or approved offline activation before execution. Redact all keys, account identifiers, activation artifacts, and sensitive endpoint details.
Instructions
- Confirm workstation alias, Windows session, installed Snagit version, license status, and no-capture default.
- Create the COM object and inspect the availability of
Capture,IsCaptureDone,LastCaptureSucceeded, andLastFileWritten. - Dispose of the object and report success if only an installation probe was authorized.
- For optional capture, confirm the exact target window, output directory, preview mode, timeout, and retention.
- Run one interactive window capture, wait with a deadline, and verify success plus canonical output path.
- Delete or retain the test artifact according to the approval and record the decision.
Approval Boundaries
Do not capture the full desktop or clipboard as a connectivity test. Never infer consent from the presence of an interactive session.
Output
Return workstation alias, product version, ProgID creation result, inspected members, capture authorization, optional artifact validation, and cleanup.
Error Handling
| Condition | Response |
|---|---|
| Not Windows | Report Snagit COM as unsupported on this platform; do not emulate it. |
| Class not registered | Confirm installation/version and use the vendor-documented registration recovery only with approval. |
| Capture not approved | Stop after COM inspection and report a successful no-capture probe. |
| Wrong output path | Quarantine or remove the test artifact and correct the boundary. |
Examples
The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.
$probe = New-Object -ComObject 'Snagit.ImageCapture.1'
$members = $probe | Get-Member -Name Capture, IsCaptureDone, LastCaptureSucceeded, LastFileWritten
# Stop here unless a capture was separately approved.