Skip to content
Skillv1.0.0

techsmith-hello-world

Capture a screenshot with Snagit COM API and produce a Camtasia video. Use when automating screen captures, batch-processing recordings, or building documentation pipelines with TechSmith tools. Trigg

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (plugins/saas-packs/techsmith-pack/skills/techsmith-hello-world/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill techsmith-hello-world. Copyright stays with the author (MIT).

TechSmith Hello World

Overview

Capture a screenshot with Snagit's COM API and render a Camtasia project to MP4 -- the two fundamental TechSmith automation operations.

Instructions

Step 1: Snagit Image Capture (PowerShell)

# Create a Snagit image capture object
$capture = New-Object -ComObject Snagit.ImageCapture

# Configure capture settings
$capture.Input = 4          # siiWindow = 4 (capture active window)
$capture.Output = 2         # sioFile = 2 (save to file)
$capture.OutputImageFile.FileType = 4  # sitJPEG = 4
$capture.OutputImageFile.Directory = "C:\Screenshots"
$capture.OutputImageFile.Filename = "capture"

# Enable preview in Snagit Editor
$capture.EnablePreview = $false  # Set $true to open in editor

# Capture!
$capture.Capture()
Write-Host "Screenshot saved to C:\Screenshots\capture.jpg"

Step 2: Snagit Video Capture (PowerShell)

$videoCapture = New-Object -ComObject Snagit.VideoCapture

$videoCapture.Input = 2       # siiRegion = 2
$videoCapture.Output = 2      # sioFile = 2
$videoCapture.OutputImageFile.Directory = "C:\Recordings"

# Start recording
$videoCapture.Capture()
# Recording starts -- manually stop via Snagit UI or timer

Step 3: Camtasia Batch Production

# Render a .tscproj to MP4 using CamtasiaProducer
$producer = "C:\Program Files\TechSmith\Camtasia 2025\CamtasiaProducer.exe"

& $producer `
  /i "C:\Projects\tutorial.tscproj" `
  /o "C:\Output\tutorial.mp4" `
  /preset "MP4 - Smart Player (up to 1080p)" `
  /watermark "none"

Write-Host "Camtasia render complete: tutorial.mp4"

Step 4: Python Automation

import win32com.client

# Snagit image capture
capture = win32com.client.Dispatch("Snagit.ImageCapture")
capture.Input = 0       # siiDesktop = 0 (full screen)
capture.Output = 2      # sioFile
capture.OutputImageFile.FileType = 3  # sitPNG
capture.OutputImageFile.Directory = "C:\\Screenshots"
capture.OutputImageFile.Filename = "auto_capture"
capture.EnablePreview = False
capture.Capture()
print("Screenshot captured via Python")

Output

Screenshot saved to C:\Screenshots\capture.jpg
Camtasia render complete: tutorial.mp4

Error Handling

Error Cause Solution
Snagit not running COM requires Snagit open Launch Snagit first
Access denied on capture Screen lock or UAC Run as administrator
Camtasia render fails Missing codec Install required codec pack
Output file exists Overwrite conflict Add timestamp to filename

Resources

Next Steps

Proceed to techsmith-local-dev-loop for development workflow.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-techsmith-hel-2b3f9f/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-techsmith-hel-2b3f9f.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-techsmith-hel-2b3f9f",
  "kind": "skill",
  "name": "techsmith-hello-world",
  "description": "Capture a screenshot with Snagit COM API and produce a Camtasia video. Use when automating screen captures, batch-processing recordings, or building documentation pipelines with TechSmith tools. Trigger: \"techsmith hello world, snagit capture, camtasia render\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general_chat",
      "coding"
    ],
    "tags": [
      "skill-md",
      "saas",
      "screen-capture",
      "video",
      "techsmith",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Capture a screenshot with Snagit COM API and produce a Camtasia video. Use when automating screen captures, batch-processing recordings, or building documentation pipelines with TechSmith tools. Trigger: \"techsmith hello world, snagit capture, camtasia render\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "plugins/saas-packs/techsmith-pack/skills/techsmith-hello-world/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/plugins/saas-packs/techsmith-pack/skills/techsmith-hello-world/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/plugins/saas-packs/techsmith-pack/skills/techsmith-hello-world/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(powershell:*)"
    ],
    "license": "MIT"
  },
  "instructions": "# TechSmith Hello World\n\n## Overview\n\nCapture a screenshot with Snagit's COM API and render a Camtasia project to MP4 -- the two fundamental TechSmith automation operations.\n\n## Instructions\n\n### Step 1: Snagit Image Capture (PowerShell)\n\n```powershell\n# Create a Snagit image capture object\n$capture = New-Object -ComObject Snagit.ImageCapture\n\n# Configure capture settings\n$capture.Input = 4          # siiWindow = 4 (capture active window)\n$capture.Output = 2         # sioFile = 2 (save to file)\n$capture.OutputImageFile.FileType = 4  # sitJPEG = 4\n$capture.OutputImageFile.Directory = \"C:\\Screen",
  "cost": {
    "context_tokens": 716
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-techsmith-hel-2b3f9f/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.