├── Archives ├── VB6 │ ├── Simple │ │ ├── Simple.vbw │ │ ├── Simple.vbp │ │ └── Form1.frm │ ├── ImageCapture v8.1 │ │ ├── README.txt │ │ ├── ImageCapture.vbw │ │ ├── ImageCapture.exe │ │ └── ImageCapture.vbp │ ├── ImageCapture │ │ ├── ImageCapture.vbw │ │ └── ImageCapture.vbp │ └── TextCapture │ │ ├── TextCapture.vbw │ │ └── TextCapture.vbp ├── VC6 │ ├── ImageCapture v8.1 │ │ ├── README.txt │ │ ├── StdAfx.h │ │ ├── StdAfx.cpp │ │ ├── ImageCapture.cpp │ │ ├── ImageCapture.h │ │ ├── ImageCaptureDlg.h │ │ ├── ImageCaptureDlg.cpp │ │ ├── res │ │ │ ├── ImageCapture.ico │ │ │ └── ImageCapture.rc2 │ │ ├── ImageCapture.dsw │ │ ├── resource.h │ │ ├── ImageCapture.clw │ │ ├── ImageCapture.plg │ │ └── ImageCapture.dsp │ ├── SIMPLE │ │ ├── StdAfx.h │ │ ├── MFCSimple.h │ │ ├── StdAfx.cpp │ │ ├── resource.h │ │ ├── MFCSimple.cpp │ │ ├── MFCSimpleDlg.h │ │ ├── MFCSimpleDlg.cpp │ │ ├── res │ │ │ ├── MFCSimple.ico │ │ │ └── MFCSimple.rc2 │ │ ├── MFCSimple.dsw │ │ ├── ReadMe.txt │ │ ├── MFCSimple.dsp │ │ └── MFCSimple.rc │ └── ImageCapture │ │ ├── StdAfx.h │ │ ├── StdAfx.cpp │ │ ├── resource.h │ │ ├── ImageCapture.cpp │ │ ├── ImageCapture.h │ │ ├── ImageCaptureDlg.h │ │ ├── ImageCaptureDlg.cpp │ │ ├── res │ │ ├── ImageCapture.ico │ │ └── ImageCapture.rc2 │ │ ├── ImageCapture.dsw │ │ ├── ImageCapture.plg │ │ ├── ImageCapture.clw │ │ ├── ReadMe.txt │ │ └── ImageCapture.dsp ├── CSharp │ ├── Simple v8.1 │ │ ├── READ ME.txt │ │ ├── App.ico │ │ ├── Form1.cs │ │ ├── AssemblyInfo.cs │ │ ├── Simple v8.1.sln │ │ └── Simple.csproj │ └── Simple │ │ ├── App.ico │ │ ├── Form1.cs │ │ ├── AssemblyInfo.cs │ │ ├── Simple.sln │ │ └── Simple.csproj ├── VB.NET │ ├── Simple v8.1 │ │ ├── READ ME.txt │ │ ├── VBSnagItCOM.sln │ │ ├── AssemblyInfo.vb │ │ └── VBSnagItCOM.vbproj │ └── Simple │ │ ├── VBSnagItCOM.sln │ │ ├── AssemblyInfo.vb │ │ └── VBSnagItCOM.vbproj ├── Snagit-13-COM-Server-Guide.pdf ├── Snagit-2018-COM-Server-Guide.pdf ├── Snagit-2019-COM-Server-Guide.pdf ├── Snagit-2020-COM-Server-Guide.pdf ├── Snagit10_COM_Server_Documentation.pdf ├── Snagit11_COM_Server_Documentation.pdf ├── Snagit12_COM_Server_Documentation.pdf ├── Snagit8_1_COM_Server_Documentation.pdf └── VBScript │ ├── ImageDesktopToClipboard.vbs │ ├── ImageDesktopToClipboard+Preview.vbs │ ├── ImageDesktopToAutoJPGFile.vbs │ └── 8.1 - ImageWindowToAutoSWFFile.vbs ├── VFoxPro9 ├── main.FXP ├── snagitcom.FXP └── License.txt ├── VBScript ├── CaptureSample.xlsm ├── License.txt ├── TwainToAutoJPEGFile.vbs └── ExcelVBScript.vbs ├── CSharp ├── Video Capture Samples │ ├── Comprehensive │ │ ├── App.ico │ │ ├── AssemblyInfo.cs │ │ ├── AudioDevice.cs │ │ ├── VideoSample_VS2010.sln │ │ ├── VideoSample_VS2013.sln │ │ ├── License.txt │ │ └── VideoSample.csproj │ └── Simple │ │ ├── Properties │ │ ├── Settings.settings │ │ ├── Settings.Designer.cs │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ │ ├── Program.cs │ │ ├── SimpleVideoCapture_VS2010.sln │ │ ├── SimpleVideoCapture_VS2013.sln │ │ ├── License.txt │ │ └── SimpleVideoCapture.csproj └── Image Capture Samples │ ├── Simple │ ├── App.config │ ├── Properties │ │ ├── Settings.settings │ │ ├── Settings.Designer.cs │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ ├── Program.cs │ ├── SimpleImageCapture_VS2010.sln │ ├── SimpleImageCapture_VS2013.sln │ ├── License.txt │ ├── SimpleImageCapture.csproj │ └── Form1.cs │ └── Comprehensive │ ├── App.config │ ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ └── Resources.Designer.cs │ ├── Program.cs │ ├── ImageCaptureSample_VS2010.sln │ ├── ImageCaptureSample_VS2013.sln │ ├── License.txt │ ├── Helpers.cs │ └── ImageCaptureSample.csproj ├── VB.NET ├── BasicImageCapture │ ├── VBSnagItCOM_2010.sln │ ├── VBSnagItCOM_2013.sln │ ├── License.txt │ ├── AssemblyInfo.vb │ └── VBSnagItCOM.vbproj └── ImageCaptureKeepLinks │ ├── VBSnagItCOM_2010.sln │ ├── VBSnagItCOM_2013.sln │ ├── AssemblyInfo.vb │ ├── License.txt │ └── VBSnagItCOM.vbproj ├── LICENSE ├── Ruby ├── License.txt └── ImageCaptureRubyScript.rb ├── PowerShell ├── License.txt ├── ImageCapture-SimpleWnd.ps1 ├── VideoCapture-SimpleWnd-10sec.ps1 └── ImageCapture-Interactive.ps1 └── .gitignore /Archives/VB6/Simple/Simple.vbw: -------------------------------------------------------------------------------- 1 | Form1 = 44, 58, 1026, 739, , 22, 29, 1004, 710, C 2 | -------------------------------------------------------------------------------- /VFoxPro9/main.FXP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/VFoxPro9/main.FXP -------------------------------------------------------------------------------- /Archives/VB6/ImageCapture v8.1/README.txt: -------------------------------------------------------------------------------- 1 | This project shows off the new functionality in SnagIt version 8.1 -------------------------------------------------------------------------------- /Archives/VB6/ImageCapture/ImageCapture.vbw: -------------------------------------------------------------------------------- 1 | ImageCaptureSample = 75, 74, 947, 883, , 62, 29, 851, 624, C 2 | -------------------------------------------------------------------------------- /Archives/VB6/TextCapture/TextCapture.vbw: -------------------------------------------------------------------------------- 1 | TextCaptureSample = 27, 29, 1036, 951, , 193, 92, 1175, 773, C 2 | -------------------------------------------------------------------------------- /VFoxPro9/snagitcom.FXP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/VFoxPro9/snagitcom.FXP -------------------------------------------------------------------------------- /Archives/VB6/ImageCapture v8.1/ImageCapture.vbw: -------------------------------------------------------------------------------- 1 | ImageCaptureSample = 75, 74, 947, 883, Z, 62, 29, 851, 624, C 2 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/README.txt: -------------------------------------------------------------------------------- 1 | This example shows off some of the new functionality in SnagIt version 8.1 -------------------------------------------------------------------------------- /VBScript/CaptureSample.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/VBScript/CaptureSample.xlsm -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/StdAfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/StdAfx.h -------------------------------------------------------------------------------- /Archives/CSharp/Simple v8.1/READ ME.txt: -------------------------------------------------------------------------------- 1 | This example shows how to use some of the new functionality introduced in SnagIt v8.1 -------------------------------------------------------------------------------- /Archives/CSharp/Simple/App.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/CSharp/Simple/App.ico -------------------------------------------------------------------------------- /Archives/CSharp/Simple/Form1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/CSharp/Simple/Form1.cs -------------------------------------------------------------------------------- /Archives/VB.NET/Simple v8.1/READ ME.txt: -------------------------------------------------------------------------------- 1 | This example shows how to use some of the new functionality introduced in SnagIt v8.1 -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimple.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/MFCSimple.h -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/StdAfx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/StdAfx.cpp -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/resource.h -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/StdAfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/StdAfx.h -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/MFCSimple.cpp -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimpleDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/MFCSimpleDlg.h -------------------------------------------------------------------------------- /Archives/CSharp/Simple v8.1/App.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/CSharp/Simple v8.1/App.ico -------------------------------------------------------------------------------- /Archives/CSharp/Simple v8.1/Form1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/CSharp/Simple v8.1/Form1.cs -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/StdAfx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/StdAfx.cpp -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/resource.h -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimpleDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/MFCSimpleDlg.cpp -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/res/MFCSimple.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/SIMPLE/res/MFCSimple.ico -------------------------------------------------------------------------------- /Archives/CSharp/Simple/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/CSharp/Simple/AssemblyInfo.cs -------------------------------------------------------------------------------- /Archives/Snagit-13-COM-Server-Guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit-13-COM-Server-Guide.pdf -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/StdAfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/StdAfx.h -------------------------------------------------------------------------------- /Archives/Snagit-2018-COM-Server-Guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit-2018-COM-Server-Guide.pdf -------------------------------------------------------------------------------- /Archives/Snagit-2019-COM-Server-Guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit-2019-COM-Server-Guide.pdf -------------------------------------------------------------------------------- /Archives/Snagit-2020-COM-Server-Guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit-2020-COM-Server-Guide.pdf -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/StdAfx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/StdAfx.cpp -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCapture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/ImageCapture.cpp -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCapture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/ImageCapture.h -------------------------------------------------------------------------------- /Archives/CSharp/Simple v8.1/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/CSharp/Simple v8.1/AssemblyInfo.cs -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCaptureDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/ImageCaptureDlg.h -------------------------------------------------------------------------------- /Archives/Snagit10_COM_Server_Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit10_COM_Server_Documentation.pdf -------------------------------------------------------------------------------- /Archives/Snagit11_COM_Server_Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit11_COM_Server_Documentation.pdf -------------------------------------------------------------------------------- /Archives/Snagit12_COM_Server_Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit12_COM_Server_Documentation.pdf -------------------------------------------------------------------------------- /Archives/Snagit8_1_COM_Server_Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/Snagit8_1_COM_Server_Documentation.pdf -------------------------------------------------------------------------------- /Archives/VB6/ImageCapture v8.1/ImageCapture.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VB6/ImageCapture v8.1/ImageCapture.exe -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCapture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/ImageCapture.cpp -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCapture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/ImageCapture.h -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCaptureDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/ImageCaptureDlg.cpp -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/res/ImageCapture.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture/res/ImageCapture.ico -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCaptureDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/ImageCaptureDlg.h -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCaptureDlg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/ImageCaptureDlg.cpp -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/res/ImageCapture.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/Archives/VC6/ImageCapture v8.1/res/ImageCapture.ico -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/App.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/CSharp/Video Capture Samples/Comprehensive/App.ico -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechSmith/Snagit-COM-Samples/HEAD/CSharp/Video Capture Samples/Comprehensive/AssemblyInfo.cs -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/res/MFCSimple.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // MFCSIMPLE.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/res/ImageCapture.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // IMAGECAPTURE.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/res/ImageCapture.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // IMAGECAPTURE.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace SimpleVideoCapture 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// The main entry point for the application. 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault( false ); 18 | Application.Run( new Form1() ); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace SimpleImageCapture 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault( false ); 19 | Application.Run( new Form1() ); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace ImageCaptureSample 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault( false ); 19 | Application.Run( new MainForm() ); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/AudioDevice.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | //Simple class to hold a list of audio devices found on the system. 6 | namespace VideoSample 7 | { 8 | class AudioDevice 9 | { 10 | public AudioDevice( Int32 id, string name ) { AudioId = id; Name = name; } 11 | public Int32 AudioId 12 | { 13 | get; 14 | set; 15 | } 16 | public string Name 17 | { 18 | get; 19 | set; 20 | } 21 | public override string ToString() 22 | { 23 | return Name; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimple.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "MFCSimple"=".\MFCSimple.dsp" - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCapture.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "ImageCapture"=".\ImageCapture.dsp" - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCapture.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "ImageCapture"=".\ImageCapture.dsp" - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /Archives/VB6/Simple/Simple.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\WINDOWS\System32\stdole2.tlb#OLE Automation 3 | Reference=*\G{49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A}#1.0#0#..\..\..\..\..\..\PROGRA~1\TECHSM~1\SNAGIT~1\SnagIt32.exe#SNAGIT 1.0 Type Library 4 | Form=Form1.frm 5 | Startup="Form1" 6 | ExeName32="Simple.exe" 7 | Command32="" 8 | Name="Simple" 9 | HelpContextID="0" 10 | CompatibleMode="0" 11 | MajorVer=1 12 | MinorVer=0 13 | RevisionVer=0 14 | AutoIncrementVer=0 15 | ServerSupportFiles=0 16 | VersionCompanyName="TechSmith Corporation" 17 | CompilationType=0 18 | OptimizationType=0 19 | FavorPentiumPro(tm)=0 20 | CodeViewDebugInfo=0 21 | NoAliasing=0 22 | BoundsCheck=0 23 | OverflowCheck=0 24 | FlPointCheck=0 25 | FDIVCheck=0 26 | UnroundedFP=0 27 | StartMode=0 28 | Unattended=0 29 | Retained=0 30 | ThreadPerObject=0 31 | MaxNumberOfThreads=1 32 | 33 | [MS Transaction Server] 34 | AutoRefresh=1 35 | -------------------------------------------------------------------------------- /Archives/CSharp/Simple/Simple.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 7.00 2 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple", "Simple.csproj", "{A3D1630D-9E91-4336-9A1D-165851D268CF}" 3 | EndProject 4 | Global 5 | GlobalSection(SolutionConfiguration) = preSolution 6 | ConfigName.0 = Debug 7 | ConfigName.1 = Release 8 | EndGlobalSection 9 | GlobalSection(ProjectDependencies) = postSolution 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug.ActiveCfg = Debug|.NET 13 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug.Build.0 = Debug|.NET 14 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release.ActiveCfg = Release|.NET 15 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /Archives/VB6/TextCapture/TextCapture.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\WINDOWS\System32\stdole2.tlb#OLE Automation 3 | Reference=*\G{49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A}#1.0#0#..\..\..\..\..\..\PROGRA~1\TECHSM~1\SNAGIT~1\SnagIt32.exe#SNAGIT 1.0 Type Library 4 | Form=TextCapture.frm 5 | Startup="TextCaptureSample" 6 | ExeName32="TextCapture.exe" 7 | Command32="" 8 | Name="VBTextCapture" 9 | HelpContextID="0" 10 | CompatibleMode="0" 11 | MajorVer=1 12 | MinorVer=0 13 | RevisionVer=0 14 | AutoIncrementVer=0 15 | ServerSupportFiles=0 16 | VersionCompanyName="TechSmith Corporation" 17 | CompilationType=0 18 | OptimizationType=0 19 | FavorPentiumPro(tm)=0 20 | CodeViewDebugInfo=0 21 | NoAliasing=0 22 | BoundsCheck=0 23 | OverflowCheck=0 24 | FlPointCheck=0 25 | FDIVCheck=0 26 | UnroundedFP=0 27 | StartMode=0 28 | Unattended=0 29 | Retained=0 30 | ThreadPerObject=0 31 | MaxNumberOfThreads=1 32 | 33 | [MS Transaction Server] 34 | AutoRefresh=1 35 | -------------------------------------------------------------------------------- /VB.NET/BasicImageCapture/VBSnagItCOM_2010.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2010 3 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBSnagItCOM", "VBSnagItCOM.vbproj", "{E3270252-6777-44A2-B683-78E48CFFA2B8}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /VB.NET/BasicImageCapture/VBSnagItCOM_2013.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2013 3 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBSnagItCOM", "VBSnagItCOM.vbproj", "{E3270252-6777-44A2-B683-78E48CFFA2B8}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /VB.NET/ImageCaptureKeepLinks/VBSnagItCOM_2010.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2010 3 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBSnagItCOM", "VBSnagItCOM.vbproj", "{E3270252-6777-44A2-B683-78E48CFFA2B8}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /VB.NET/ImageCaptureKeepLinks/VBSnagItCOM_2013.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2013 3 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBSnagItCOM", "VBSnagItCOM.vbproj", "{E3270252-6777-44A2-B683-78E48CFFA2B8}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /Archives/CSharp/Simple v8.1/Simple v8.1.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 7.00 2 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple", "Simple.csproj", "{A3D1630D-9E91-4336-9A1D-165851D268CF}" 3 | EndProject 4 | Global 5 | GlobalSection(SolutionConfiguration) = preSolution 6 | ConfigName.0 = Debug 7 | ConfigName.1 = Release 8 | EndGlobalSection 9 | GlobalSection(ProjectDependencies) = postSolution 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug.ActiveCfg = Debug|.NET 13 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug.Build.0 = Debug|.NET 14 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release.ActiveCfg = Release|.NET 15 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /Archives/VB.NET/Simple/VBSnagItCOM.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 7.00 2 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBSnagItCOM", "VBSnagItCOM.vbproj", "{E3270252-6777-44A2-B683-78E48CFFA2B8}" 3 | EndProject 4 | Global 5 | GlobalSection(SolutionConfiguration) = preSolution 6 | ConfigName.0 = Debug 7 | ConfigName.1 = Release 8 | EndGlobalSection 9 | GlobalSection(ProjectDependencies) = postSolution 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug.ActiveCfg = Debug|.NET 13 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug.Build.0 = Debug|.NET 14 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release.ActiveCfg = Release|.NET 15 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /Archives/VB.NET/Simple v8.1/VBSnagItCOM.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 7.00 2 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBSnagItCOM", "VBSnagItCOM.vbproj", "{E3270252-6777-44A2-B683-78E48CFFA2B8}" 3 | EndProject 4 | Global 5 | GlobalSection(SolutionConfiguration) = preSolution 6 | ConfigName.0 = Debug 7 | ConfigName.1 = Release 8 | EndGlobalSection 9 | GlobalSection(ProjectDependencies) = postSolution 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug.ActiveCfg = Debug|.NET 13 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Debug.Build.0 = Debug|.NET 14 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release.ActiveCfg = Release|.NET 15 | {E3270252-6777-44A2-B683-78E48CFFA2B8}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/VideoSample_VS2010.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2010 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VideoSample", "VideoSample.csproj", "{A3D1630D-9E91-4336-9A1D-165851D268CF}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/VideoSample_VS2013.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2013 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VideoSample", "VideoSample.csproj", "{A3D1630D-9E91-4336-9A1D-165851D268CF}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {A3D1630D-9E91-4336-9A1D-165851D268CF}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /Archives/VB6/ImageCapture/ImageCapture.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\WINDOWS\System32\stdole2.tlb#OLE Automation 3 | Reference=*\G{49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A}#1.0#0#..\..\..\..\..\..\PROGRA~1\TECHSM~1\SNAGIT~1\SnagIt32.exe#SNAGIT 1.0 Type Library 4 | Form=ImageCapture.frm 5 | Startup="ImageCaptureSample" 6 | HelpFile="" 7 | Title="ImageCapture" 8 | ExeName32="ImageCapture.exe" 9 | Command32="" 10 | Name="VBImageCapture" 11 | HelpContextID="0" 12 | CompatibleMode="0" 13 | MajorVer=1 14 | MinorVer=0 15 | RevisionVer=0 16 | AutoIncrementVer=0 17 | ServerSupportFiles=0 18 | VersionCompanyName="TechSmith Corporation" 19 | CompilationType=0 20 | OptimizationType=0 21 | FavorPentiumPro(tm)=0 22 | CodeViewDebugInfo=0 23 | NoAliasing=0 24 | BoundsCheck=0 25 | OverflowCheck=0 26 | FlPointCheck=0 27 | FDIVCheck=0 28 | UnroundedFP=0 29 | StartMode=0 30 | Unattended=0 31 | Retained=0 32 | ThreadPerObject=0 33 | MaxNumberOfThreads=1 34 | DebugStartupOption=0 35 | 36 | [MS Transaction Server] 37 | AutoRefresh=1 38 | -------------------------------------------------------------------------------- /Archives/VB6/ImageCapture v8.1/ImageCapture.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\..\WINDOWS\System32\stdole2.tlb#OLE Automation 3 | Reference=*\G{49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A}#1.0#0#..\..\..\..\..\..\..\Program Files\TechSmith\SnagIt 8\SnagIt32.exe#SNAGIT 1.0 Type Library 4 | Form=ImageCapture.frm 5 | Startup="ImageCaptureSample" 6 | HelpFile="" 7 | Title="ImageCapture" 8 | ExeName32="ImageCapture.exe" 9 | Command32="" 10 | Name="VBImageCapture" 11 | HelpContextID="0" 12 | CompatibleMode="0" 13 | MajorVer=1 14 | MinorVer=0 15 | RevisionVer=0 16 | AutoIncrementVer=0 17 | ServerSupportFiles=0 18 | VersionCompanyName="TechSmith Corporation" 19 | CompilationType=0 20 | OptimizationType=0 21 | FavorPentiumPro(tm)=0 22 | CodeViewDebugInfo=0 23 | NoAliasing=0 24 | BoundsCheck=0 25 | OverflowCheck=0 26 | FlPointCheck=0 27 | FDIVCheck=0 28 | UnroundedFP=0 29 | StartMode=0 30 | Unattended=0 31 | Retained=0 32 | ThreadPerObject=0 33 | MaxNumberOfThreads=1 34 | DebugStartupOption=0 35 | 36 | [MS Transaction Server] 37 | AutoRefresh=1 38 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by ImageCapture.rc 4 | // 5 | #define IDD_IMAGECAPTURE_DIALOG 102 6 | #define IDR_MAINFRAME 128 7 | #define IDC_CAPTURE 1000 8 | #define IDC_INPUT 1001 9 | #define IDC_OUTPUT 1002 10 | #define IDC_SHOWPREVIEW 1003 11 | #define IDC_AUTOSCROLL 1004 12 | #define IDC_BRIGHT 1005 13 | #define IDC_BORDER 1006 14 | #define IDC_STATUS 1007 15 | #define IDC_KEEPLINKS 1008 16 | #define IDC_COORDINATES 1009 17 | 18 | // Next default values for new objects 19 | // 20 | #ifdef APSTUDIO_INVOKED 21 | #ifndef APSTUDIO_READONLY_SYMBOLS 22 | #define _APS_NEXT_RESOURCE_VALUE 129 23 | #define _APS_NEXT_COMMAND_VALUE 32771 24 | #define _APS_NEXT_CONTROL_VALUE 1008 25 | #define _APS_NEXT_SYMED_VALUE 101 26 | #endif 27 | #endif 28 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/SimpleImageCapture_VS2010.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2010 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleImageCapture", "SimpleImageCapture.csproj", "{C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/SimpleImageCapture_VS2013.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleImageCapture", "SimpleImageCapture.csproj", "{C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/SimpleVideoCapture_VS2010.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2010 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleVideoCapture", "SimpleVideoCapture.csproj", "{8DA94F50-8454-410B-A7AC-57AA30E53D78}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/SimpleVideoCapture_VS2013.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleVideoCapture", "SimpleVideoCapture.csproj", "{8DA94F50-8454-410B-A7AC-57AA30E53D78}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {8DA94F50-8454-410B-A7AC-57AA30E53D78}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/ImageCaptureSample_VS2010.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2010 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageCaptureSample", "ImageCaptureSample.csproj", "{D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/ImageCaptureSample_VS2013.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageCaptureSample", "ImageCaptureSample.csproj", "{D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Archives/VB.NET/Simple/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System.Reflection 2 | Imports System.Runtime.InteropServices 3 | 4 | ' General Information about an assembly is controlled through the following 5 | ' set of attributes. Change these attribute values to modify the information 6 | ' associated with an assembly. 7 | 8 | ' Review the values of the assembly attributes 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 19 | 20 | 21 | ' Version information for an assembly consists of the following four values: 22 | ' 23 | ' Major Version 24 | ' Minor Version 25 | ' Build Number 26 | ' Revision 27 | ' 28 | ' You can specify all the values or you can default the Build and Revision Numbers 29 | ' by using the '*' as shown below: 30 | 31 | 32 | -------------------------------------------------------------------------------- /Archives/VB.NET/Simple v8.1/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System.Reflection 2 | Imports System.Runtime.InteropServices 3 | 4 | ' General Information about an assembly is controlled through the following 5 | ' set of attributes. Change these attribute values to modify the information 6 | ' associated with an assembly. 7 | 8 | ' Review the values of the assembly attributes 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 19 | 20 | 21 | ' Version information for an assembly consists of the following four values: 22 | ' 23 | ' Major Version 24 | ' Minor Version 25 | ' Build Number 26 | ' Revision 27 | ' 28 | ' You can specify all the values or you can default the Build and Revision Numbers 29 | ' by using the '*' as shown below: 30 | 31 | 32 | -------------------------------------------------------------------------------- /VB.NET/ImageCaptureKeepLinks/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System.Reflection 2 | Imports System.Runtime.InteropServices 3 | 4 | ' General Information about an assembly is controlled through the following 5 | ' set of attributes. Change these attribute values to modify the information 6 | ' associated with an assembly. 7 | 8 | ' Review the values of the assembly attributes 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 19 | 20 | 21 | ' Version information for an assembly consists of the following four values: 22 | ' 23 | ' Major Version 24 | ' Minor Version 25 | ' Build Number 26 | ' Revision 27 | ' 28 | ' You can specify all the values or you can default the Build and Revision Numbers 29 | ' by using the '*' as shown below: 30 | 31 | 32 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Ruby/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /VBScript/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /VFoxPro9/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /PowerShell/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2015 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /VB.NET/BasicImageCapture/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /VB.NET/ImageCaptureKeepLinks/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/License.txt: -------------------------------------------------------------------------------- 1 | This software is provided under the MIT License (http://opensource.org/licenses/MIT) 2 | 3 | Copyright (c) 2014 TechSmith Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /VB.NET/BasicImageCapture/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System.Reflection 2 | Imports System.Runtime.InteropServices 3 | 4 | ' General Information about an assembly is controlled through the following 5 | ' set of attributes. Change these attribute values to modify the information 6 | ' associated with an assembly. 7 | 8 | ' Review the values of the assembly attributes 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 19 | 20 | 21 | ' Version information for an assembly consists of the following four values: 22 | ' 23 | ' Major Version 24 | ' Minor Version 25 | ' Build Number 26 | ' Revision 27 | ' 28 | ' You can specify all the values or you can default the Build and Revision Numbers 29 | ' by using the '*' as shown below: 30 | 31 | 32 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.18444 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace SimpleImageCapture.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute( "Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0" )] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ( (Settings) ( global::System.Configuration.ApplicationSettingsBase.Synchronized( new Settings() ) ) ); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.18444 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace SimpleVideoCapture.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute( "Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0" )] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ( (Settings) ( global::System.Configuration.ApplicationSettingsBase.Synchronized( new Settings() ) ) ); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.18444 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace ImageCaptureSample.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCapture.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: ImageCapture - Win32 Release-------------------- 7 |

8 |

Command Lines

9 | Creating temporary file "C:\DOCUME~1\mjm105\LOCALS~1\Temp\RSPEA.tmp" with contents 10 | [ 11 | /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Release/ImageCapture.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 12 | "C:\Projects\Testing\SnagItCOM Examples\VS6 C++\ImageCapture\ImageCaptureDlg.cpp" 13 | ] 14 | Creating command line "cl.exe @C:\DOCUME~1\mjm105\LOCALS~1\Temp\RSPEA.tmp" 15 | Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/ImageCapture.pdb" /machine:I386 /out:"Release/ImageCapture.exe" ".\Release\ImageCapture.obj" ".\Release\ImageCaptureDlg.obj" ".\Release\StdAfx.obj" ".\Release\ImageCapture.res" " 16 |

Output Window

17 | Compiling... 18 | ImageCaptureDlg.cpp 19 | Linking... 20 | LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF 21 | LINK : warning LNK4089: all references to "comdlg32.dll" discarded by /OPT:REF 22 | 23 | 24 | 25 |

Results

26 | ImageCapture.exe - 0 error(s), 2 warning(s) 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /Archives/VBScript/ImageDesktopToClipboard.vbs: -------------------------------------------------------------------------------- 1 | '///////////////////////////////////////////////////////////////////////////// 2 | '// ImageDesktopToClipboard.vbs - VB Script image capture example 3 | '// 4 | '// SnagIt COM server example code 5 | '// 6 | '// Support e-mail: support@techsmith.zendesk.com 7 | '// 8 | '// Copyright 2003-2014 TechSmith Corporation. All rights reserved. 9 | '///////////////////////////////////////////////////////////////////////////// 10 | 11 | On Error Resume Next 12 | 13 | ' Create and image capture object 14 | set obj = CreateObject("SNAGIT.ImageCapture") 15 | 16 | ' Defines found in SnagIt.tlb 17 | Const InputDesktop = 0 18 | Const OutputClipboard = 4 19 | Const ErrorSnagItExpired = 1 20 | 21 | ' Set the input and output 22 | obj.Input = InputDesktop 23 | obj.Output = OutputClipboard 24 | 25 | ' use preview window 26 | obj.EnablePreviewWindow = false 27 | 28 | ' do the capture 29 | obj.Capture 30 | 31 | ' sleep until the capture finishes 32 | ' this makes sure that the script doesn't 33 | ' exit, which would cancel the capture 34 | Do Until obj.IsCaptureDone 35 | WScript.Sleep 10 36 | Loop 37 | 38 | If obj.LastError = ErrorSnagItExpired Then 39 | MsgBox "Unable to capture: SnagIt evaluation has expired." 40 | End If -------------------------------------------------------------------------------- /Archives/VBScript/ImageDesktopToClipboard+Preview.vbs: -------------------------------------------------------------------------------- 1 | '///////////////////////////////////////////////////////////////////////////// 2 | '// ImageDesktopToClipboard+Preview.vbs - VB Script image capture example 3 | '// 4 | '// SnagIt COM server example code 5 | '// 6 | '// Support e-mail: support@techsmith.zendesk.com 7 | '// 8 | '// Copyright 2003-2014 TechSmith Corporation. All rights reserved. 9 | '///////////////////////////////////////////////////////////////////////////// 10 | 11 | On Error Resume Next 12 | 13 | ' Create and image capture object 14 | set obj = CreateObject("SNAGIT.ImageCapture") 15 | 16 | ' Defines found in SnagIt.tlb 17 | Const InputDesktop = 0 18 | Const OutputClipboard = 4 19 | Const ErrorSnagItExpired = 1 20 | 21 | ' Set the input and output 22 | obj.Input = InputDesktop 23 | obj.Output = OutputClipboard 24 | 25 | ' use preview window 26 | obj.EnablePreviewWindow = true 27 | 28 | ' do the capture 29 | obj.Capture 30 | 31 | ' sleep until the capture finishes 32 | ' this makes sure that the script doesn't 33 | ' exit, which would cancel the capture 34 | Do Until obj.IsCaptureDone 35 | WScript.Sleep 10 36 | Loop 37 | 38 | If obj.LastError = ErrorSnagItExpired Then 39 | MsgBox "Unable to capture: SnagIt evaluation has expired" 40 | End If -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCapture.clw: -------------------------------------------------------------------------------- 1 | ; CLW file contains information for the MFC ClassWizard 2 | 3 | [General Info] 4 | Version=1 5 | LastClass=CImageCaptureDlg 6 | LastTemplate=CDialog 7 | NewFileInclude1=#include "stdafx.h" 8 | NewFileInclude2=#include "ImageCapture.h" 9 | 10 | ClassCount=2 11 | Class1=CImageCaptureApp 12 | Class2=CImageCaptureDlg 13 | 14 | ResourceCount=3 15 | Resource2=IDR_MAINFRAME 16 | Resource3=IDD_IMAGECAPTURE_DIALOG 17 | 18 | [CLS:CImageCaptureApp] 19 | Type=0 20 | HeaderFile=ImageCapture.h 21 | ImplementationFile=ImageCapture.cpp 22 | Filter=N 23 | 24 | [CLS:CImageCaptureDlg] 25 | Type=0 26 | HeaderFile=ImageCaptureDlg.h 27 | ImplementationFile=ImageCaptureDlg.cpp 28 | Filter=D 29 | BaseClass=CDialog 30 | VirtualFilter=dWC 31 | LastObject=IDC_INPUT 32 | 33 | 34 | 35 | [DLG:IDD_IMAGECAPTURE_DIALOG] 36 | Type=1 37 | Class=CImageCaptureDlg 38 | ControlCount=13 39 | Control1=IDC_CAPTURE,button,1342242816 40 | Control2=IDC_STATIC,static,1342308352 41 | Control3=IDC_STATIC,static,1342308352 42 | Control4=IDC_INPUT,combobox,1344339971 43 | Control5=IDC_OUTPUT,combobox,1344339971 44 | Control6=IDC_SHOWPREVIEW,button,1342242819 45 | Control7=IDC_AUTOSCROLL,button,1342242819 46 | Control8=IDC_STATIC,button,1342177287 47 | Control9=IDC_STATIC,button,1342177287 48 | Control10=IDC_BRIGHT,button,1342242819 49 | Control11=IDC_BORDER,button,1342242819 50 | Control12=IDC_STATIC,static,1342308352 51 | Control13=IDC_STATUS,static,1342308352 52 | 53 | -------------------------------------------------------------------------------- /Archives/VBScript/ImageDesktopToAutoJPGFile.vbs: -------------------------------------------------------------------------------- 1 | '///////////////////////////////////////////////////////////////////////////// 2 | '// ImageDesktopToAutoJPGFile.vbs - VB Script image capture example 3 | '// 4 | '// SnagIt COM server example code 5 | '// 6 | '// Support e-mail: support@techsmith.zendesk.com 7 | '// 8 | '// Copyright 2003-2014 TechSmith Corporation. All rights reserved. 9 | '///////////////////////////////////////////////////////////////////////////// 10 | 11 | On Error Resume Next 12 | 13 | ' Defines found in SnagIt.tlb 14 | Const InputDesktop = 0 15 | Const OutputFile = 2 16 | Const AutoFileNaming = 2 17 | Const ImageTypeJPEG = 3 18 | Const ErrorSnagItExpired = 1 19 | 20 | ' Create and image capture object 21 | set obj = CreateObject("SNAGIT.ImageCapture") 22 | 23 | ' Set the input and output 24 | obj.Input = InputDesktop 25 | obj.Output = OutputFile 26 | 27 | ' set output to jpeg 28 | obj.OutputImageFile.LoadImageDefaults ImageTypeJPEG 29 | 30 | ' autofile naming to root directory on c: 31 | obj.OutputImageFile.FileNamingMethod = AutoFileNaming 32 | obj.OutputImageFile.Directory = "c:\" 33 | 34 | ' use preview window 35 | obj.EnablePreviewWindow = false 36 | 37 | ' do the capture 38 | obj.Capture() 39 | 40 | ' sleep until the capture finishes 41 | ' this makes sure that the script doesn't 42 | ' exit, which would cancel the capture 43 | Do Until obj.IsCaptureDone 44 | WScript.Sleep 10 45 | Loop 46 | 47 | If obj.LastError = ErrorSnagItExpired Then 48 | MsgBox "Unable to capture: SnagIt evaluation has expired" 49 | End If 50 | 51 | On Error GoTo 0 52 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCapture.clw: -------------------------------------------------------------------------------- 1 | ; CLW file contains information for the MFC ClassWizard 2 | 3 | [General Info] 4 | Version=1 5 | LastClass=CImageCaptureDlg 6 | LastTemplate=CDialog 7 | NewFileInclude1=#include "stdafx.h" 8 | NewFileInclude2=#include "ImageCapture.h" 9 | 10 | ClassCount=2 11 | Class1=CImageCaptureApp 12 | Class2=CImageCaptureDlg 13 | 14 | ResourceCount=3 15 | Resource2=IDR_MAINFRAME 16 | Resource3=IDD_IMAGECAPTURE_DIALOG 17 | 18 | [CLS:CImageCaptureApp] 19 | Type=0 20 | HeaderFile=ImageCapture.h 21 | ImplementationFile=ImageCapture.cpp 22 | Filter=N 23 | 24 | [CLS:CImageCaptureDlg] 25 | Type=0 26 | HeaderFile=ImageCaptureDlg.h 27 | ImplementationFile=ImageCaptureDlg.cpp 28 | Filter=D 29 | BaseClass=CDialog 30 | VirtualFilter=dWC 31 | LastObject=IDC_INPUT 32 | 33 | 34 | 35 | [DLG:IDD_IMAGECAPTURE_DIALOG] 36 | Type=1 37 | Class=CImageCaptureDlg 38 | ControlCount=16 39 | Control1=IDC_CAPTURE,button,1342242816 40 | Control2=IDC_STATIC,static,1342308352 41 | Control3=IDC_INPUT,combobox,1344339971 42 | Control4=IDC_STATIC,static,1342308352 43 | Control5=IDC_OUTPUT,combobox,1344339971 44 | Control6=IDC_SHOWPREVIEW,button,1342242819 45 | Control7=IDC_AUTOSCROLL,button,1342242819 46 | Control8=IDC_STATIC,button,1342177287 47 | Control9=IDC_BRIGHT,button,1342242819 48 | Control10=IDC_BORDER,button,1342242819 49 | Control11=IDC_KEEPLINKS,button,1342242819 50 | Control12=IDC_STATIC,button,1342177287 51 | Control13=IDC_STATIC,static,1342308352 52 | Control14=IDC_STATUS,static,1342308352 53 | Control15=IDC_STATIC,static,1342308352 54 | Control16=IDC_COORDINATES,static,1342308352 55 | 56 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle( "SimpleImageCapture" )] 9 | [assembly: AssemblyDescription( "" )] 10 | [assembly: AssemblyConfiguration( "" )] 11 | [assembly: AssemblyCompany( "" )] 12 | [assembly: AssemblyProduct( "SimpleImageCapture" )] 13 | [assembly: AssemblyCopyright( "Copyright © 2014" )] 14 | [assembly: AssemblyTrademark( "" )] 15 | [assembly: AssemblyCulture( "" )] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible( false )] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid( "375229d3-d1d9-414a-a1eb-0f5e27090a13" )] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion( "1.0.0.0" )] 36 | [assembly: AssemblyFileVersion( "1.0.0.0" )] 37 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle( "SimpleVideoCapture" )] 9 | [assembly: AssemblyDescription( "" )] 10 | [assembly: AssemblyConfiguration( "" )] 11 | [assembly: AssemblyCompany( "" )] 12 | [assembly: AssemblyProduct( "SimpleVideoCapture" )] 13 | [assembly: AssemblyCopyright( "Copyright © 2014" )] 14 | [assembly: AssemblyTrademark( "" )] 15 | [assembly: AssemblyCulture( "" )] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible( false )] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid( "517a59a1-134b-4e0e-879c-c683fddc3da8" )] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion( "1.0.0.0" )] 36 | [assembly: AssemblyFileVersion( "1.0.0.0" )] 37 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle( "ImageCaptureSample" )] 9 | [assembly: AssemblyDescription( "" )] 10 | [assembly: AssemblyConfiguration( "" )] 11 | [assembly: AssemblyCompany( "" )] 12 | [assembly: AssemblyProduct( "ImageCaptureSample" )] 13 | [assembly: AssemblyCopyright( "Copyright © 2014" )] 14 | [assembly: AssemblyTrademark( "" )] 15 | [assembly: AssemblyCulture( "" )] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible( false )] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid( "d70c7512-fa39-4f5f-b5f3-613609423816" )] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion( "1.0.0.0" )] 36 | [assembly: AssemblyFileVersion( "1.0.0.0" )] 37 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCapture.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: ImageCapture - Win32 Release-------------------- 7 |

8 |

Command Lines

9 | Creating command line "rc.exe /l 0x409 /fo"Release/ImageCapture.res" /d "NDEBUG" "C:\Documents and Settings\Admin User\Desktop\SnagIt_COM_Server_DocExamples\Samples\VC6\ImageCapture v8.1\ImageCapture.rc"" 10 | Creating temporary file "C:\DOCUME~1\ADMINU~1\LOCALS~1\Temp\RSP55.tmp" with contents 11 | [ 12 | /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Release/ImageCapture.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 13 | "C:\Documents and Settings\Admin User\Desktop\SnagIt_COM_Server_DocExamples\Samples\VC6\ImageCapture v8.1\ImageCapture.cpp" 14 | "C:\Documents and Settings\Admin User\Desktop\SnagIt_COM_Server_DocExamples\Samples\VC6\ImageCapture v8.1\ImageCaptureDlg.cpp" 15 | ] 16 | Creating command line "cl.exe @C:\DOCUME~1\ADMINU~1\LOCALS~1\Temp\RSP55.tmp" 17 | Creating temporary file "C:\DOCUME~1\ADMINU~1\LOCALS~1\Temp\RSP56.tmp" with contents 18 | [ 19 | /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Release/ImageCapture.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c 20 | "C:\Documents and Settings\Admin User\Desktop\SnagIt_COM_Server_DocExamples\Samples\VC6\ImageCapture v8.1\StdAfx.cpp" 21 | ] 22 | Creating command line "cl.exe @C:\DOCUME~1\ADMINU~1\LOCALS~1\Temp\RSP56.tmp" 23 | Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/ImageCapture.pdb" /machine:I386 /out:"Release/ImageCapture.exe" ".\Release\ImageCapture.obj" ".\Release\ImageCaptureDlg.obj" ".\Release\StdAfx.obj" ".\Release\ImageCapture.res" " 24 |

Output Window

25 | Compiling resources... 26 | Compiling... 27 | StdAfx.cpp 28 | Compiling... 29 | ImageCapture.cpp 30 | ImageCaptureDlg.cpp 31 | Generating Code... 32 | Linking... 33 | LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF 34 | LINK : warning LNK4089: all references to "comdlg32.dll" discarded by /OPT:REF 35 | 36 | 37 | 38 |

Results

39 | ImageCapture.exe - 0 error(s), 2 warning(s) 40 |
41 | 42 | 43 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # ======================================= 2 | # Begin TechSmith/Snagit specialization 3 | # ======================================= 4 | # Reference: http://support.microsoft.com/kb/156513 5 | *.lastbuildstate 6 | *.tlog 7 | *idl32* 8 | *idl64* 9 | dlldata.c 10 | 11 | # =================================================================== 12 | # END TechSmith/Snagit specialization 13 | # =================================================================== 14 | 15 | # ====================================================================== 16 | # Stuff from came from github defaults 17 | # https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 18 | # ====================================================================== 19 | 20 | ## Ignore Visual Studio temporary files, build results, and 21 | ## files generated by popular Visual Studio add-ons. 22 | 23 | # User-specific files 24 | *.suo 25 | *.user 26 | *.sln.docstates 27 | *.sh 28 | *_i.c 29 | *_p.c 30 | *.ilk 31 | *.meta 32 | *.obj 33 | *.pch 34 | #*.pdb 35 | *.pgc 36 | *.pgd 37 | *.rsp 38 | *.sbr 39 | *.tlb 40 | *.tli 41 | *.tlh 42 | *.tmp 43 | *.tmp_proj 44 | *.log 45 | *.vspscc 46 | *.vssscc 47 | .builds 48 | *.pidb 49 | *.svclog 50 | *.scc 51 | 52 | # Visual Studio output directories 53 | Bin/ 54 | Debug/ 55 | DebugDLL/ 56 | Obj/ 57 | Release/ 58 | ReleaseDLL/ 59 | Win32/ 60 | x64/ 61 | 62 | # NuGet (Don't check in your packages! Use Package Restore!) 63 | packages/ 64 | *.nupkg 65 | 66 | # Visual C++ cache files 67 | ipch/ 68 | *.aps 69 | *.ncb 70 | *.opensdf 71 | *.sdf 72 | *.cachefile 73 | 74 | # Visual Studio profiler 75 | *.psess 76 | *.vsp 77 | *.vspx 78 | 79 | # Backup & report files from converting an old project file to a newer 80 | # Visual Studio version. Backup files are not needed, because we have git ;-) 81 | _UpgradeReport_Files/ 82 | Backup*/ 83 | UpgradeLog*.XML 84 | UpgradeLog*.htm 85 | 86 | # ========================= 87 | # Windows detritus 88 | # ========================= 89 | 90 | # Windows image file caches 91 | Thumbs.db 92 | ehthumbs.db 93 | 94 | # Folder config file 95 | Desktop.ini 96 | 97 | # Recycle Bin used on file shares 98 | $RECYCLE.BIN/ 99 | 100 | # Mac 101 | .DS_Store 102 | 103 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/Helpers.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using System.Windows.Forms; 4 | 5 | 6 | namespace ImageCaptureSample 7 | { 8 | static class Helpers 9 | { 10 | //Converts a string to a number. Returns zero upon failure (and possibly on success). 11 | public static Int16 ConvertToNumeric( string str ) 12 | { 13 | Int16 number; 14 | 15 | try 16 | { 17 | number = Convert.ToInt16( str ); 18 | } catch 19 | { 20 | number = 0; 21 | } 22 | 23 | return number; 24 | } 25 | 26 | public static int ConvertToRGB( Color clr ) 27 | { 28 | var rgb = clr.R << 8; 29 | rgb = ( rgb | clr.G ) << 8; 30 | return ( rgb | clr.B ); 31 | } 32 | 33 | public static int ConvertToCOLORREF( Color clr ) 34 | { 35 | //Note: COLORREF has this format: 0x00bbggrr 36 | var rgb = clr.B << 8; 37 | rgb = ( rgb | clr.G ) << 8; 38 | return ( rgb | clr.R ); 39 | } 40 | 41 | public static Color ConvertRGBToColor( int rgb ) 42 | { 43 | var red = ( rgb & 0xFF0000 ) >> 16; 44 | var green = ( rgb & 0x00FF00 ) >> 8; 45 | return Color.FromArgb( 255, red, green, rgb & 0xFF ); 46 | } 47 | 48 | //Returns true if the user selected a color 49 | public static bool SelectColor( out Color clr ) 50 | { 51 | var clrDlg = new ColorDialog(); 52 | clr = Color.Transparent; 53 | if ( clrDlg.ShowDialog() == DialogResult.OK ) 54 | { 55 | clr = clrDlg.Color; 56 | return true; 57 | } 58 | 59 | return false; 60 | } 61 | 62 | public static String BrowseOutputFolder() 63 | { 64 | String folderPath = ""; 65 | FolderBrowserDialog browseFoldersDialog = new FolderBrowserDialog(); 66 | browseFoldersDialog.Description = "Select a folder"; 67 | 68 | if ( browseFoldersDialog.ShowDialog() == DialogResult.OK ) 69 | { 70 | folderPath = browseFoldersDialog.SelectedPath; 71 | } 72 | 73 | return folderPath; 74 | } 75 | 76 | public static String BrowseForFile() 77 | { 78 | String filename = ""; 79 | OpenFileDialog brosweFilesDialog = new OpenFileDialog(); 80 | DialogResult result = brosweFilesDialog.ShowDialog(); 81 | if ( result == DialogResult.OK ) 82 | { 83 | filename = brosweFilesDialog.FileName; 84 | } 85 | 86 | return filename; 87 | } 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /Archives/VBScript/8.1 - ImageWindowToAutoSWFFile.vbs: -------------------------------------------------------------------------------- 1 | '///////////////////////////////////////////////////////////////////////////// 2 | '// 8.1 - ImageWindowToAutoSWFFile.vbs - VB Script image capture example 3 | '// 4 | '// SnagIt COM server example code 5 | '// This script shows some of the new functionality added in SnagIt v8.1 6 | '// 7 | '// Support e-mail: support@techsmith.zendesk.com 8 | '// 9 | '// Copyright 2003-2014 TechSmith Corporation. All rights reserved. 10 | '///////////////////////////////////////////////////////////////////////////// 11 | 12 | On Error Resume Next 13 | 14 | ' Defines found in SnagIt.tlb 15 | Const InputWindow = 1 16 | Const OutputFile = 2 17 | Const AutoFileNaming = 2 18 | Const ImageTypeSWF = 26 19 | Const ErrorSnagItExpired = 1 20 | Const shtLinksOnly = 1 21 | Const spOutsideBottom = 11 22 | 23 | ' Create and image capture object 24 | set obj = CreateObject("SNAGIT.ImageCapture") 25 | 26 | ' Set the input and output 27 | obj.Input = InputWindow 28 | obj.Output = OutputFile 29 | 30 | ' autofile naming to root directory on c: 31 | obj.OutputImageFile.FileNamingMethod = AutoFileNaming 32 | obj.OutputImageFile.Directory = "c:\" 33 | 34 | ' use preview window 35 | obj.EnablePreviewWindow = false 36 | 37 | ' ///////////////////////////////////////////////////// 38 | ' The following is new in SnagIt version 8.1 39 | 40 | ' Use Keep Links feature: 41 | obj.HotspotType = shtLinksOnly 42 | 43 | ' place a caption, outside the image: 44 | obj.Filters.Annotation.EnableCaption = true 45 | obj.Filters.Annotation.CaptionText = "Example Caption: Window!" 46 | obj.Filters.Annotation.CaptionOptions.Placement = spOutsideBottom 47 | 48 | ' set output to SWF 49 | obj.OutputImageFile.LoadImageDefaults ImageTypeSWF ' SWF file type new in v8.1 50 | 51 | ' do the capture 52 | obj.Capture() 53 | 54 | ' sleep until the capture finishes 55 | ' this makes sure that the script doesn't 56 | ' exit, which would cancel the capture 57 | Do Until obj.IsCaptureDone 58 | WScript.Sleep 10 59 | Loop 60 | 61 | If obj.LastError = ErrorSnagItExpired Then 62 | MsgBox "Unable to capture: SnagIt evaluation has expired" 63 | End If 64 | 65 | ' Read out the capture results; new in v8.1 66 | dim strResults 67 | strResults = "Capture rect: (" 68 | strResults = strResults + CStr( obj.CaptureResults.SelectedArea.StartX ) 69 | strResults = strResults + ", " 70 | strResults = strResults + CStr( obj.CaptureResults.SelectedArea.StartY ) 71 | strResults = strResults + "), W=" 72 | strResults = strResults + CStr( obj.CaptureResults.SelectedArea.Width ) 73 | strResults = strResults + ", H=" 74 | strResults = strResults + CStr( obj.CaptureResults.SelectedArea.Height ) 75 | 76 | MsgBox strResults 77 | 78 | On Error GoTo 0 79 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.18444 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace SimpleImageCapture.Properties 12 | { 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute( "System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0" )] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources 26 | { 27 | 28 | private static global::System.Resources.ResourceManager resourceMan; 29 | 30 | private static global::System.Globalization.CultureInfo resourceCulture; 31 | 32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] 33 | internal Resources() 34 | { 35 | } 36 | 37 | /// 38 | /// Returns the cached ResourceManager instance used by this class. 39 | /// 40 | [global::System.ComponentModel.EditorBrowsableAttribute( global::System.ComponentModel.EditorBrowsableState.Advanced )] 41 | internal static global::System.Resources.ResourceManager ResourceManager 42 | { 43 | get 44 | { 45 | if ( ( resourceMan == null ) ) 46 | { 47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager( "SimpleImageCapture.Properties.Resources", typeof( Resources ).Assembly ); 48 | resourceMan = temp; 49 | } 50 | return resourceMan; 51 | } 52 | } 53 | 54 | /// 55 | /// Overrides the current thread's CurrentUICulture property for all 56 | /// resource lookups using this strongly typed resource class. 57 | /// 58 | [global::System.ComponentModel.EditorBrowsableAttribute( global::System.ComponentModel.EditorBrowsableState.Advanced )] 59 | internal static global::System.Globalization.CultureInfo Culture 60 | { 61 | get 62 | { 63 | return resourceCulture; 64 | } 65 | set 66 | { 67 | resourceCulture = value; 68 | } 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.18444 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace SimpleVideoCapture.Properties 12 | { 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute( "System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0" )] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources 26 | { 27 | 28 | private static global::System.Resources.ResourceManager resourceMan; 29 | 30 | private static global::System.Globalization.CultureInfo resourceCulture; 31 | 32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )] 33 | internal Resources() 34 | { 35 | } 36 | 37 | /// 38 | /// Returns the cached ResourceManager instance used by this class. 39 | /// 40 | [global::System.ComponentModel.EditorBrowsableAttribute( global::System.ComponentModel.EditorBrowsableState.Advanced )] 41 | internal static global::System.Resources.ResourceManager ResourceManager 42 | { 43 | get 44 | { 45 | if ( ( resourceMan == null ) ) 46 | { 47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager( "SimpleVideoCapture.Properties.Resources", typeof( Resources ).Assembly ); 48 | resourceMan = temp; 49 | } 50 | return resourceMan; 51 | } 52 | } 53 | 54 | /// 55 | /// Overrides the current thread's CurrentUICulture property for all 56 | /// resource lookups using this strongly typed resource class. 57 | /// 58 | [global::System.ComponentModel.EditorBrowsableAttribute( global::System.ComponentModel.EditorBrowsableState.Advanced )] 59 | internal static global::System.Globalization.CultureInfo Culture 60 | { 61 | get 62 | { 63 | return resourceCulture; 64 | } 65 | set 66 | { 67 | resourceCulture = value; 68 | } 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /PowerShell/ImageCapture-SimpleWnd.ps1: -------------------------------------------------------------------------------- 1 | #--------------------------------------------------------------------------- 2 | # This is a Powershell sample application to demonstrates how to 3 | # perform a Snagit COM image capture (window capture) and save it to a file. 4 | # Note: This code is backward compatible clear back to Snagit 8.1.0. 5 | # 6 | # Support e-mail: support@techsmith.zendesk.com 7 | # This software is provided under the MIT License (http://opensource.org/licenses/MIT) 8 | # Copyright (c) 2015 TechSmith Corporation 9 | # 10 | # Permission is hereby granted, free of charge, to any person obtaining a copy of this 11 | # software and associated documentation files (the "Software"), to deal in the Software 12 | # without restriction, including without limitation the rights to use, copy, modify, merge, 13 | # publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 14 | # to whom the Software is furnished to do so, subject to the following conditions: 15 | # The above copyright notice and this permission notice shall be included in all copies 16 | # or substantial portions of the Software. 17 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 18 | # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 19 | # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 20 | # FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | #--------------------------------------------------------------------------- 23 | 24 | # PowerShell can't import type library from a COM Object 25 | # See http://msdn.microsoft.com/en-us/library/hh228154.aspx 26 | # So let's import those enums from a separate powershell script 27 | . .\Snagit_enums.ps1 28 | 29 | $object = New-Object -ComObject SNAGIT.ImageCapture 30 | 31 | # 32 | # set the input to Window 33 | # 34 | $object.Input = [snagImageInput]::siiWindow 35 | 36 | # 37 | # set the output to File 38 | # 39 | $object.Output = [snagImageOutput]::sioFile 40 | 41 | # 42 | # Set preview to No preview 43 | # 44 | $object.EnablePreviewWindow = $false 45 | 46 | # 47 | # Set file type to PNG 48 | # 49 | $object.OutputImageFile.LoadImageDefaults( [snagImageFileType]::siftPNG ) 50 | 51 | # 52 | # Set File Naming method to auto and output directory to TEMP 53 | # 54 | $object.OutputImageFile.FileNamingMethod = [snagOuputFileNamingMethod]::sofnmAuto; 55 | $object.OutputImageFile.Directory = $env:Temp 56 | 57 | # 58 | # trigger the capture 59 | # 60 | $object.Capture() 61 | 62 | # 63 | # Wait until the capture is done 64 | # 65 | while (!$object.IsCaptureDone) 66 | { 67 | sleep 1 68 | } 69 | write-host "File written: " $object.LastFileWritten 70 | "`nDone" 71 | 72 | # pause if needed 73 | if ($host.name -eq 'ConsoleHost') 74 | { 75 | Write-Host "Press any key to continue ..." 76 | 77 | $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") 78 | } -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.18444 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace ImageCaptureSample.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ImageCaptureSample.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /PowerShell/VideoCapture-SimpleWnd-10sec.ps1: -------------------------------------------------------------------------------- 1 | #--------------------------------------------------------------------------- 2 | # This is a Powershell sample application to demonstrates how to 3 | # perform a Snagit COM video capture and save it to a file. 4 | # The code has been set up to capture from a window, capture approximately 5 | # 10 seconds of video, and preview the video in the Snagit Editor. 6 | # Note: This sample requires Snagit 11.1.0 or later. 7 | # 8 | # Support e-mail: support@techsmith.zendesk.com 9 | # This software is provided under the MIT License (http://opensource.org/licenses/MIT) 10 | # Copyright (c) 2015 TechSmith Corporation 11 | # 12 | # Permission is hereby granted, free of charge, to any person obtaining a copy of this 13 | # software and associated documentation files (the "Software"), to deal in the Software 14 | # without restriction, including without limitation the rights to use, copy, modify, merge, 15 | # publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 16 | # to whom the Software is furnished to do so, subject to the following conditions: 17 | # The above copyright notice and this permission notice shall be included in all copies 18 | # or substantial portions of the Software. 19 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 20 | # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 21 | # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 22 | # FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 23 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | #--------------------------------------------------------------------------- 25 | 26 | # PowerShell can't import type library from a COM Object 27 | # See http://msdn.microsoft.com/en-us/library/hh228154.aspx 28 | # So let's import those enums from a separate powershell script 29 | . .\Snagit_enums.ps1 30 | 31 | $object = New-Object -ComObject SNAGIT.VideoCapture 32 | 33 | # 34 | # set the input to Window 35 | # 36 | $object.Input = [snagVideoInput]::siiWindow 37 | 38 | # 39 | # set the output to None 40 | # 41 | $object.Output = [snagVideoOutput]::svoNone 42 | 43 | # 44 | # set other properties 45 | # 46 | $object.EnablePreviewWindow = $true 47 | $object.IncludeCursor = $true 48 | $object.OutputVideoFile.Directory = $env:Temp 49 | 50 | # 51 | # trigger the capture 52 | # 53 | $object.Capture() 54 | 55 | # 56 | # Wait until the capture is done 57 | # 58 | while (!$object.IsCaptureDone) 59 | { 60 | sleep 1 61 | Write-Host "Recording Duration: " $object.RecordingDuration "ms" 62 | Write-Host "Frame Count: " $object.FrameCount 63 | 64 | # stop after 10 seconds 65 | if ( $object.RecordingDuration -ge 10000 ) 66 | { 67 | $object.Stop(); 68 | } 69 | } 70 | "`nDone" 71 | 72 | # pause if needed 73 | if ($host.name -eq 'ConsoleHost') 74 | { 75 | Write-Host "Press any key to continue ..." 76 | 77 | $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") 78 | } 79 | -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | MICROSOFT FOUNDATION CLASS LIBRARY : MFCSimple 3 | ======================================================================== 4 | 5 | 6 | AppWizard has created this MFCSimple application for you. This application 7 | not only demonstrates the basics of using the Microsoft Foundation classes 8 | but is also a starting point for writing your application. 9 | 10 | This file contains a summary of what you will find in each of the files that 11 | make up your MFCSimple application. 12 | 13 | MFCSimple.dsp 14 | This file (the project file) contains information at the project level and 15 | is used to build a single project or subproject. Other users can share the 16 | project (.dsp) file, but they should export the makefiles locally. 17 | 18 | MFCSimple.h 19 | This is the main header file for the application. It includes other 20 | project specific headers (including Resource.h) and declares the 21 | CMFCSimpleApp application class. 22 | 23 | MFCSimple.cpp 24 | This is the main application source file that contains the application 25 | class CMFCSimpleApp. 26 | 27 | MFCSimple.rc 28 | This is a listing of all of the Microsoft Windows resources that the 29 | program uses. It includes the icons, bitmaps, and cursors that are stored 30 | in the RES subdirectory. This file can be directly edited in Microsoft 31 | Visual C++. 32 | 33 | MFCSimple.clw 34 | This file contains information used by ClassWizard to edit existing 35 | classes or add new classes. ClassWizard also uses this file to store 36 | information needed to create and edit message maps and dialog data 37 | maps and to create prototype member functions. 38 | 39 | res\MFCSimple.ico 40 | This is an icon file, which is used as the application's icon. This 41 | icon is included by the main resource file MFCSimple.rc. 42 | 43 | res\MFCSimple.rc2 44 | This file contains resources that are not edited by Microsoft 45 | Visual C++. You should place all resources not editable by 46 | the resource editor in this file. 47 | 48 | 49 | 50 | 51 | ///////////////////////////////////////////////////////////////////////////// 52 | 53 | AppWizard creates one dialog class: 54 | 55 | MFCSimpleDlg.h, MFCSimpleDlg.cpp - the dialog 56 | These files contain your CMFCSimpleDlg class. This class defines 57 | the behavior of your application's main dialog. The dialog's 58 | template is in MFCSimple.rc, which can be edited in Microsoft 59 | Visual C++. 60 | 61 | 62 | ///////////////////////////////////////////////////////////////////////////// 63 | Other standard files: 64 | 65 | StdAfx.h, StdAfx.cpp 66 | These files are used to build a precompiled header (PCH) file 67 | named MFCSimple.pch and a precompiled types file named StdAfx.obj. 68 | 69 | Resource.h 70 | This is the standard header file, which defines new resource IDs. 71 | Microsoft Visual C++ reads and updates this file. 72 | 73 | ///////////////////////////////////////////////////////////////////////////// 74 | Other notes: 75 | 76 | AppWizard uses "TODO:" to indicate parts of the source code you 77 | should add to or customize. 78 | 79 | If your application uses MFC in a shared DLL, and your application is 80 | in a language other than the operating system's current language, you 81 | will need to copy the corresponding localized resources MFC42XXX.DLL 82 | from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, 83 | and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. 84 | For example, MFC42DEU.DLL contains resources translated to German.) If you 85 | don't do this, some of the UI elements of your application will remain in the 86 | language of the operating system. 87 | 88 | ///////////////////////////////////////////////////////////////////////////// 89 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | MICROSOFT FOUNDATION CLASS LIBRARY : ImageCapture 3 | ======================================================================== 4 | 5 | 6 | AppWizard has created this ImageCapture application for you. This application 7 | not only demonstrates the basics of using the Microsoft Foundation classes 8 | but is also a starting point for writing your application. 9 | 10 | This file contains a summary of what you will find in each of the files that 11 | make up your ImageCapture application. 12 | 13 | ImageCapture.dsp 14 | This file (the project file) contains information at the project level and 15 | is used to build a single project or subproject. Other users can share the 16 | project (.dsp) file, but they should export the makefiles locally. 17 | 18 | ImageCapture.h 19 | This is the main header file for the application. It includes other 20 | project specific headers (including Resource.h) and declares the 21 | CImageCaptureApp application class. 22 | 23 | ImageCapture.cpp 24 | This is the main application source file that contains the application 25 | class CImageCaptureApp. 26 | 27 | ImageCapture.rc 28 | This is a listing of all of the Microsoft Windows resources that the 29 | program uses. It includes the icons, bitmaps, and cursors that are stored 30 | in the RES subdirectory. This file can be directly edited in Microsoft 31 | Visual C++. 32 | 33 | ImageCapture.clw 34 | This file contains information used by ClassWizard to edit existing 35 | classes or add new classes. ClassWizard also uses this file to store 36 | information needed to create and edit message maps and dialog data 37 | maps and to create prototype member functions. 38 | 39 | res\ImageCapture.ico 40 | This is an icon file, which is used as the application's icon. This 41 | icon is included by the main resource file ImageCapture.rc. 42 | 43 | res\ImageCapture.rc2 44 | This file contains resources that are not edited by Microsoft 45 | Visual C++. You should place all resources not editable by 46 | the resource editor in this file. 47 | 48 | 49 | 50 | 51 | ///////////////////////////////////////////////////////////////////////////// 52 | 53 | AppWizard creates one dialog class: 54 | 55 | ImageCaptureDlg.h, ImageCaptureDlg.cpp - the dialog 56 | These files contain your CImageCaptureDlg class. This class defines 57 | the behavior of your application's main dialog. The dialog's 58 | template is in ImageCapture.rc, which can be edited in Microsoft 59 | Visual C++. 60 | 61 | 62 | ///////////////////////////////////////////////////////////////////////////// 63 | Other standard files: 64 | 65 | StdAfx.h, StdAfx.cpp 66 | These files are used to build a precompiled header (PCH) file 67 | named ImageCapture.pch and a precompiled types file named StdAfx.obj. 68 | 69 | Resource.h 70 | This is the standard header file, which defines new resource IDs. 71 | Microsoft Visual C++ reads and updates this file. 72 | 73 | ///////////////////////////////////////////////////////////////////////////// 74 | Other notes: 75 | 76 | AppWizard uses "TODO:" to indicate parts of the source code you 77 | should add to or customize. 78 | 79 | If your application uses MFC in a shared DLL, and your application is 80 | in a language other than the operating system's current language, you 81 | will need to copy the corresponding localized resources MFC42XXX.DLL 82 | from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, 83 | and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. 84 | For example, MFC42DEU.DLL contains resources translated to German.) If you 85 | don't do this, some of the UI elements of your application will remain in the 86 | language of the operating system. 87 | 88 | ///////////////////////////////////////////////////////////////////////////// 89 | -------------------------------------------------------------------------------- /VBScript/TwainToAutoJPEGFile.vbs: -------------------------------------------------------------------------------- 1 | '====================================================================================== 2 | ' This is a VBScript example to show how to capture from a TWAIN device 3 | ' and output to a JPEG file. 4 | ' 5 | ' Note: This sample requires Snagit 8.1.0 or later. 6 | ' 7 | ' Support e-mail: support@techsmith.zendesk.com 8 | ' This software is provided under the MIT License (http://opensource.org/licenses/MIT) 9 | ' Copyright (c) 2014 TechSmith Corporation 10 | ' 11 | ' Permission is hereby granted, free of charge, to any person obtaining a copy of this 12 | ' software and associated documentation files (the "Software"), to deal in the Software 13 | ' without restriction, including without limitation the rights to use, copy, modify, merge, 14 | ' publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 15 | ' to whom the Software is furnished to do so, subject to the following conditions: 16 | ' The above copyright notice and this permission notice shall be included in all copies 17 | ' or substantial portions of the Software. 18 | ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | ' INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | ' PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | ' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 22 | ' ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | '====================================================================================== 24 | 25 | ' Create and image capture object 26 | set SnagImg = CreateObject("SNAGIT.ImageCapture") 27 | 28 | ' Capture Settings 29 | Const InputType = 19 ' Use Twain Input (Region Input = 4) 30 | Const NotificationType = 3 ' Show All Notifications 31 | 32 | ' Output Settings 33 | Const OutputType = 2 ' Output to file 34 | Const OutputFileType = 3 ' Output to JPG 35 | Const OutputFileQuality = 100 ' 100%, highest quality setting 36 | Const OutputFileDirectory = "c:\Images\SnagIt" ' Output directory 37 | Const FileNamingMethod = 2 ' Auto name files 38 | Const EnablePreviewWindow = true ' Preview on/off (true/false) 39 | 40 | ' Apply input settings 41 | SnagImg.Input = InputType 42 | SnagImg.NotificationType = NotificationType 43 | 44 | ' Apply output settings 45 | SnagImg.Output = OutputType 46 | SnagImg.OutputImageFile.FileType = OutputFileType 47 | SnagImg.OutputImageFile.Quality = OutputFileQuality 48 | SnagImg.OutputImageFile.Directory = OutputFileDirectory 49 | SnagImg.OutputImageFile.FileNamingMethod = FileNamingMethod 50 | SnagImg.EnablePreviewWindow = EnablePreviewWindow 51 | 52 | ' Do the capture 53 | SnagImg.Capture 54 | 55 | ' Sleep until the capture finishes this makes sure that the script doesn't 56 | ' exit, which would cancel the capture 57 | Do Until SnagImg.IsCaptureDone 58 | WScript.Sleep 10 59 | Loop 60 | 61 | Select Case SnagImg.LastError 62 | Case -1 63 | MsgBox "Error: Unknown Error." 64 | Case 1 65 | MsgBox "Unable to capture: SnagIt evaluation has expired." 66 | Case 2 67 | MsgBox "Error: Invalid Input." 68 | Case 3 69 | MsgBox "Error: Invalid Output." 70 | Case 4 71 | MsgBox "Error: Snagit Busy. Probably doing another capture." 72 | Case 5 73 | MsgBox "Error: Invalid Scroll Delay." 74 | Case 6 75 | MsgBox "Error: Invalid Delay." 76 | Case 7 77 | MsgBox "Error: Invalid Color Effect Value." 78 | Case 8 79 | MsgBox "Error: Invalid File Progressive Value." 80 | Case 9 81 | MsgBox "Error: Invalid File Quality Value." 82 | Case 10 83 | MsgBox "Error: Invalid Output File Directory." 84 | Case 11 85 | MsgBox "Error: Invalid Color Conversion Value." 86 | Case 12 87 | MsgBox "Error: Invalid Image Resolution." 88 | ' Case Else 89 | ' The only other condition is '0' which is 'SUCCESS' 90 | End Select 91 | 92 | -------------------------------------------------------------------------------- /PowerShell/ImageCapture-Interactive.ps1: -------------------------------------------------------------------------------- 1 | #--------------------------------------------------------------------------- 2 | # This is a Powershell sample application to demonstrates how to 3 | # perform a Snagit COM image capture and save it to a file. 4 | # The image can be previewed in the Snagit Editor if you decide so. 5 | # Note: This code is backward compatible clear back to Snagit 8.1.0. 6 | # 7 | # Support e-mail: support@techsmith.zendesk.com 8 | # This software is provided under the MIT License (http://opensource.org/licenses/MIT) 9 | # Copyright (c) 2015 TechSmith Corporation 10 | # 11 | # Permission is hereby granted, free of charge, to any person obtaining a copy of this 12 | # software and associated documentation files (the "Software"), to deal in the Software 13 | # without restriction, including without limitation the rights to use, copy, modify, merge, 14 | # publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 15 | # to whom the Software is furnished to do so, subject to the following conditions: 16 | # The above copyright notice and this permission notice shall be included in all copies 17 | # or substantial portions of the Software. 18 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 19 | # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 20 | # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 21 | # FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 22 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | #--------------------------------------------------------------------------- 24 | 25 | # PowerShell can't import type library from a COM Object 26 | # See http://msdn.microsoft.com/en-us/library/hh228154.aspx 27 | # So let's import those enums from a separate powershell script 28 | . .\Snagit_enums.ps1 29 | 30 | $object = New-Object -ComObject SNAGIT.ImageCapture 31 | 32 | # 33 | # set the input 34 | # 35 | write-host 36 | foreach ($v in [enum]::GetValues([snagImageInput])) 37 | { 38 | write-host ([int]$v) for $v 39 | } 40 | $object.Input = [snagImageInput](Read-Host "`nWhat input do you want to use?"); 41 | 42 | # 43 | # set the output 44 | # 45 | write-host 46 | foreach ($v in [enum]::GetValues([snagImageOutput])) 47 | { 48 | write-host ([int]$v) for $v 49 | } 50 | $object.Output = [snagImageOutput](Read-Host "`nWhat output do you want to use?"); 51 | 52 | # 53 | # Preview or no preview? 54 | # 55 | if ( $object.Output -ne [snagImageOutput]::sioNone ) 56 | { 57 | $object.EnablePreviewWindow = [Int32](Read-Host "`nEnable Preview (0:no preview, 1:with preview)?"); 58 | } 59 | else 60 | { 61 | $object.EnablePreviewWindow = $true 62 | } 63 | 64 | # 65 | # Set file type (if output is File, Mail or FTP) 66 | # 67 | if ( $object.Output -eq [snagImageOutput]::sioFile -Or 68 | $object.Output -eq [snagImageOutput]::sioMail -Or 69 | $object.Output -eq [snagImageOutput]::sioFTP ) 70 | { 71 | write-host 72 | foreach ($v in [enum]::GetValues([snagImageFileType])) 73 | { 74 | write-host ([int]$v) for $v 75 | } 76 | $object.OutputImageFile.LoadImageDefaults( [snagImageFileType](Read-Host "`nWhat file type do you want to use?") ) 77 | 78 | # 79 | # Set File Naming method to auto 80 | # 81 | $object.OutputImageFile.FileNamingMethod = [snagOuputFileNamingMethod]::sofnmAuto; 82 | } 83 | 84 | # 85 | # Set output directory to TEMP 86 | # 87 | $object.OutputImageFile.Directory = $env:Temp 88 | 89 | # 90 | # trigger the capture 91 | # 92 | $object.Capture() 93 | 94 | # 95 | # Wait until the capture is done 96 | # 97 | while (!$object.IsCaptureDone) 98 | { 99 | sleep 1 100 | } 101 | if ( $object.Output -eq ([snagImageOutput]::sioFile) ) 102 | { 103 | write-host "File written: " $object.LastFileWritten 104 | } 105 | "`nDone" 106 | 107 | # pause if needed 108 | if ($host.name -eq 'ConsoleHost') 109 | { 110 | Write-Host "Press any key to continue ..." 111 | 112 | $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") 113 | } -------------------------------------------------------------------------------- /VBScript/ExcelVBScript.vbs: -------------------------------------------------------------------------------- 1 | Sub Capture() 2 | 3 | '====================================================================================== 4 | ' This is a VBScript example for triggering a capture from within 5 | ' MSExcel 2010 and pasting the resulting capture into the current selected cell. 6 | ' 7 | ' Note: This sample requires Snagit 8.1.0 or later. 8 | ' 9 | ' Support e-mail: support@techsmith.zendesk.com 10 | ' This software is provided under the MIT License (http://opensource.org/licenses/MIT) 11 | ' Copyright (c) 2014 TechSmith Corporation 12 | ' 13 | ' Permission is hereby granted, free of charge, to any person obtaining a copy of this 14 | ' software and associated documentation files (the "Software"), to deal in the Software 15 | ' without restriction, including without limitation the rights to use, copy, modify, merge, 16 | ' publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 17 | ' to whom the Software is furnished to do so, subject to the following conditions: 18 | ' The above copyright notice and this permission notice shall be included in all copies 19 | ' or substantial portions of the Software. 20 | ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 21 | ' INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 22 | ' PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 23 | ' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 24 | ' ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 | '====================================================================================== 26 | 27 | Dim strMsg As String 28 | Dim dteWait 29 | 30 | Dim objSnagit 31 | Dim ImageFilters 32 | Dim ColorSub 33 | 34 | ' Capture input type 35 | Const siiDesktop = 0 36 | Const siiWindow = 1 37 | Const siiRegion = 4 38 | Const siiGraphicFile = 6 39 | Const siiClipboard = 7 40 | Const siiMenu = 9 41 | Const siiObject = 10 42 | Const siiFreehand = 12 43 | Const siiCustomScroll = 18 44 | Const siiTWAIN = 19 45 | Const siiExtendedWindow = 23 46 | Const siiCapture = 25 'Use Snagit's default All-in-One selection UI (requires Snagit 9.0 or later) 47 | 48 | ' Window selection method 49 | Const swsmInteractive = 0 50 | Const swsmActive = 1 51 | Const swsmHandle = 2 52 | Const swsmPoint = 3 53 | 54 | ' Capture output type 55 | Const sioNone = 0 56 | Const sioPrinter = 1 57 | Const sioFile = 2 58 | Const sioClipboard = 4 59 | Const sioMail = 8 60 | Const sioFTP = 32 61 | 62 | ' Output image type 63 | Const siftBMP = 0 64 | Const siftPCX = 1 65 | Const siftTIFF = 2 66 | Const siftJPEG = 3 67 | Const siftGIF = 4 68 | Const siftPNG = 5 69 | Const siftTGA = 6 70 | 71 | ' Output color depth 72 | Const sicdAuto = 0 73 | Const sicd1Bit = 1 74 | Const sicd2Bit = 2 75 | Const sicd3Bit = 3 76 | Const sicd4Bit = 4 77 | Const sicd5Bit = 5 78 | Const sicd6Bit = 6 79 | Const sicd7Bit = 7 80 | Const sicd8Bit = 8 81 | Const sicd16Bit = 16 82 | Const sicd24Bit = 24 83 | Const sicd32Bit = 32 84 | 85 | ' Output file naming method 86 | Const sofnmPrompt = 0 87 | Const sofnmFixed = 1 88 | Const sofnmAuto = 2 89 | Const scsmCustom = 2 90 | 91 | ' SnagIt object 92 | Set objSnagit = CreateObject("SNAGIT.ImageCapture.1") 93 | With objSnagit 94 | ' Set input options 95 | .Input = siiRegion 96 | .inputwindowoptions.selectionmethod = swsmInteractive 97 | .IncludeCursor = False 98 | 99 | ' Set output options 100 | 'Copy image to the clipboard so we can paste it back into Excel 101 | .Output = sioClipboard 102 | 103 | .OutputImageFile.FileType = siftPNG 104 | .OutputImageFile.ColorDepth = sicd32Bit 105 | 106 | ' Capture 107 | .Capture 108 | 109 | End With 110 | 111 | 'Hacky wait for the capture to finish since 112 | dteWait = DateAdd("s", 4, Now()) 113 | Do Until (Now() > dteWait) 114 | Loop 115 | 116 | ' Insert into active worksheet at the active cell or A1 117 | On Error Resume Next 118 | Err.Clear 119 | ActiveSheet.Paste Destination:=ActiveCell 120 | If Err.Number <> 0 Then 121 | ActiveSheet.Paste Destination:=ActiveSheet.Range("A1:A1") 122 | End If 123 | 124 | 125 | ' Release the objects 126 | Set objSnagit = Nothing 127 | 128 | End Sub 129 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/SimpleVideoCapture.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {8DA94F50-8454-410B-A7AC-57AA30E53D78} 8 | WinExe 9 | Properties 10 | SimpleVideoCapture 11 | SimpleVideoCapture 12 | v4.0 13 | 512 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | Form 49 | 50 | 51 | Form1.cs 52 | 53 | 54 | 55 | 56 | Form1.cs 57 | 58 | 59 | ResXFileCodeGenerator 60 | Resources.Designer.cs 61 | Designer 62 | 63 | 64 | True 65 | Resources.resx 66 | 67 | 68 | SettingsSingleFileGenerator 69 | Settings.Designer.cs 70 | 71 | 72 | True 73 | Settings.settings 74 | True 75 | 76 | 77 | 78 | 79 | {49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A} 80 | 1 81 | 0 82 | 0 83 | tlbimp 84 | False 85 | False 86 | 87 | 88 | 89 | 96 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/SimpleImageCapture.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {C29EF989-F882-4E3D-8CAF-6C49DBBB19D2} 8 | WinExe 9 | Properties 10 | SimpleImageCapture 11 | SimpleImageCapture 12 | v4.0 13 | 512 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | Form 49 | 50 | 51 | Form1.cs 52 | 53 | 54 | 55 | 56 | Form1.cs 57 | 58 | 59 | ResXFileCodeGenerator 60 | Resources.Designer.cs 61 | Designer 62 | 63 | 64 | True 65 | Resources.resx 66 | 67 | 68 | SettingsSingleFileGenerator 69 | Settings.Designer.cs 70 | 71 | 72 | True 73 | Settings.settings 74 | True 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | {49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A} 83 | 1 84 | 0 85 | 0 86 | tlbimp 87 | False 88 | False 89 | 90 | 91 | 92 | 99 | -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimple.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="MFCSimple" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 6 | 7 | CFG=MFCSimple - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "MFCSimple.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "MFCSimple.mak" CFG="MFCSimple - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "MFCSimple - Win32 Release" (based on "Win32 (x86) Application") 21 | !MESSAGE "MFCSimple - Win32 Debug" (based on "Win32 (x86) Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName ""$/SnagIt/Dev/Samples/VC6/SIMPLE", SHXAAAAA" 27 | # PROP Scc_LocalPath "." 28 | CPP=cl.exe 29 | MTL=midl.exe 30 | RSC=rc.exe 31 | 32 | !IF "$(CFG)" == "MFCSimple - Win32 Release" 33 | 34 | # PROP BASE Use_MFC 6 35 | # PROP BASE Use_Debug_Libraries 0 36 | # PROP BASE Output_Dir "Release" 37 | # PROP BASE Intermediate_Dir "Release" 38 | # PROP BASE Target_Dir "" 39 | # PROP Use_MFC 6 40 | # PROP Use_Debug_Libraries 0 41 | # PROP Output_Dir "Release" 42 | # PROP Intermediate_Dir "Release" 43 | # PROP Target_Dir "" 44 | # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c 45 | # ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c 46 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 47 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 49 | # ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" 50 | BSC32=bscmake.exe 51 | # ADD BASE BSC32 /nologo 52 | # ADD BSC32 /nologo 53 | LINK32=link.exe 54 | # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 55 | # ADD LINK32 /nologo /subsystem:windows /machine:I386 56 | 57 | !ELSEIF "$(CFG)" == "MFCSimple - Win32 Debug" 58 | 59 | # PROP BASE Use_MFC 6 60 | # PROP BASE Use_Debug_Libraries 1 61 | # PROP BASE Output_Dir "Debug" 62 | # PROP BASE Intermediate_Dir "Debug" 63 | # PROP BASE Target_Dir "" 64 | # PROP Use_MFC 6 65 | # PROP Use_Debug_Libraries 1 66 | # PROP Output_Dir "Debug" 67 | # PROP Intermediate_Dir "Debug" 68 | # PROP Target_Dir "" 69 | # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c 70 | # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c 71 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 72 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 74 | # ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 75 | BSC32=bscmake.exe 76 | # ADD BASE BSC32 /nologo 77 | # ADD BSC32 /nologo 78 | LINK32=link.exe 79 | # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 80 | # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 81 | 82 | !ENDIF 83 | 84 | # Begin Target 85 | 86 | # Name "MFCSimple - Win32 Release" 87 | # Name "MFCSimple - Win32 Debug" 88 | # Begin Group "Source Files" 89 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 91 | # Begin Source File 92 | 93 | SOURCE=.\MFCSimple.cpp 94 | # End Source File 95 | # Begin Source File 96 | 97 | SOURCE=.\MFCSimple.rc 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=.\MFCSimpleDlg.cpp 102 | # End Source File 103 | # Begin Source File 104 | 105 | SOURCE=.\StdAfx.cpp 106 | # ADD CPP /Yc"stdafx.h" 107 | # End Source File 108 | # End Group 109 | # Begin Group "Header Files" 110 | 111 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 112 | # Begin Source File 113 | 114 | SOURCE=.\MFCSimple.h 115 | # End Source File 116 | # Begin Source File 117 | 118 | SOURCE=.\MFCSimpleDlg.h 119 | # End Source File 120 | # Begin Source File 121 | 122 | SOURCE=.\Resource.h 123 | # End Source File 124 | # Begin Source File 125 | 126 | SOURCE=.\StdAfx.h 127 | # End Source File 128 | # End Group 129 | # Begin Group "Resource Files" 130 | 131 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 132 | # Begin Source File 133 | 134 | SOURCE=.\res\MFCSimple.ico 135 | # End Source File 136 | # Begin Source File 137 | 138 | SOURCE=.\res\MFCSimple.rc2 139 | # End Source File 140 | # End Group 141 | # Begin Source File 142 | 143 | SOURCE=.\ReadMe.txt 144 | # End Source File 145 | # End Target 146 | # End Project 147 | -------------------------------------------------------------------------------- /Ruby/ImageCaptureRubyScript.rb: -------------------------------------------------------------------------------- 1 | require 'win32ole' 2 | 3 | # This is a sample Ruby script that demonstrates how to 4 | # perform a Snagit COM image capture and save it to a file. 5 | # It will allow you to interactively select a window to capture. 6 | # The image is then previewed in the Snagit Editor. Clicking on 7 | # The green "Finish" button in the editor will prompt you for 8 | # the name and location to save the capture. It will default to 9 | # the PNG file type as specified in the code below. 10 | # 11 | # Support e-mail: support@techsmith.zendesk.com 12 | # This software is provided under the MIT License (http://opensource.org/licenses/MIT) 13 | # Copyright (c) 2014 TechSmith Corporation 14 | # 15 | # Permission is hereby granted, free of charge, to any person obtaining a copy of this 16 | # software and associated documentation files (the "Software"), to deal in the Software 17 | # without restriction, including without limitation the rights to use, copy, modify, merge, 18 | # publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 19 | # to whom the Software is furnished to do so, subject to the following conditions: 20 | # The above copyright notice and this permission notice shall be included in all copies 21 | # or substantial portions of the Software. 22 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 23 | # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 24 | # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 25 | # FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 26 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | 28 | snagit = WIN32OLE.new('Snagit.ImageCapture') 29 | 30 | #set input capture type 31 | # siiDesktop = 0 32 | # siiWindow = 1 33 | # siiRegion = 4 34 | # siiGraphicFile = 6 35 | # siiClipboard = 7 36 | # siiMenu = 9 37 | # siiObject = 10 38 | # siiFreehand = 12 39 | # siiCustomScroll = 18 40 | # siiTWAIN = 19 41 | # siiExtendedWindow = 23 42 | # siiCapture = 25 - use the default All-in-One selection UI 43 | snagit.Input = 1 44 | 45 | #For window captures there are four ways 46 | #that you can select the window to capture: 47 | # swsmInteractive = 0 - Uses the Snagit selection UI so that the user can interactively make the selection 48 | # swsmActive = 1 - Captures the current active window 49 | # swsmHandle = 2 - Using a window handle (as a integer, not a hex-value) 50 | # swsmPoint = 3 - Coordinates of a point located inside the window to capture 51 | snagit.InputWindowOptions.SelectionMethod = 0 52 | 53 | #If you are capturing a window based on a handle, provide the window handle 54 | #snagit.InputWindowOptions.Handle = 68422 55 | 56 | #If you are capturing a window based on point, specify the point 57 | #snagit.InputWindowOptions.XPos = 350 58 | #snagit.InputWindowOptions.YPos = 350 59 | 60 | #If you are not using the interactive selection mode you can 61 | #still tell Snagit to auto-scroll the window without any user 62 | #input. Specify where to start scrolling and which direction. 63 | #snagit.AutoScrollOptions.ForegroundScrollingWindow = true 64 | 65 | # sasspCurrent = 0 66 | # sasspTop = 1 67 | # sasspLeft = 2 68 | # sasspTopLeft = 3 69 | #snagit.AutoScrollOptions.StartingPosition = 3 70 | 71 | # sasmNone = 0 - Forces no scrolling when using interactive mode 72 | # sasmVertical = 1 73 | # sasmHorizontal = 2 74 | # sasmBoth = 3 75 | #snagit.AutoScrollOptions.AutoScrollMethod = 1 76 | 77 | 78 | #Specify the output 79 | # sioNone = 0 80 | # sioPrinter = 1 81 | # sioFile = 2 82 | # sioClipboard = 4 83 | # sioMail = 8 84 | # sioFTP = 32 85 | snagit.Output = 2 86 | 87 | #Enable preview in the editor 88 | snagit.EnablePreviewWindow = true 89 | 90 | #Specify the file naming method 91 | # sofnmPrompt = 0 92 | # sofnmFixed = 1 93 | # sofnmAuto = 2 94 | snagit.OutputImageFile.FileNamingMethod= 0 95 | 96 | #Set the file type 97 | # siftBMP = 0 98 | # siftTIFF = 2 99 | # siftJPEG = 3 100 | # siftGIF = 4 101 | # siftPNG = 5 102 | # siftTGA = 6 103 | # siftRAS = 7 104 | # siftWMF = 9 105 | # siftEPS = 11 106 | # siftOS2 = 17 107 | # siftWFX = 18 108 | # siftEMF = 19 109 | # siftWPG = 20 110 | # siftPSD = 21 111 | # siftICO = 22 112 | # siftCUR = 23 113 | # siftPDF = 24 114 | # siftSNAG = 25 115 | # siftSWF = 26 116 | # siftMHT = 27 117 | snagit.OutputImageFile.FileType = 5 118 | 119 | 120 | #Do the capture 121 | begin 122 | snagit.Capture 123 | rescue WIN32OLERuntimeError 124 | puts "Failed to start capture!" 125 | return 126 | end 127 | 128 | #Wait for the capture to finish 129 | while !snagit.IsCaptureDone 130 | end 131 | 132 | puts "Finished." -------------------------------------------------------------------------------- /Archives/VB.NET/Simple/VBSnagItCOM.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 26 | 42 | 58 | 59 | 60 | 64 | 68 | 72 | 76 | 80 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 106 | 111 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture/ImageCapture.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="ImageCapture" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 6 | 7 | CFG=ImageCapture - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "ImageCapture.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "ImageCapture.mak" CFG="ImageCapture - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "ImageCapture - Win32 Release" (based on "Win32 (x86) Application") 21 | !MESSAGE "ImageCapture - Win32 Debug" (based on "Win32 (x86) Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName ""$/SnagIt/Dev/Samples/VC6/ImageCapture", QEXAAAAA" 27 | # PROP Scc_LocalPath "." 28 | CPP=cl.exe 29 | MTL=midl.exe 30 | RSC=rc.exe 31 | 32 | !IF "$(CFG)" == "ImageCapture - Win32 Release" 33 | 34 | # PROP BASE Use_MFC 5 35 | # PROP BASE Use_Debug_Libraries 0 36 | # PROP BASE Output_Dir "Release" 37 | # PROP BASE Intermediate_Dir "Release" 38 | # PROP BASE Target_Dir "" 39 | # PROP Use_MFC 5 40 | # PROP Use_Debug_Libraries 0 41 | # PROP Output_Dir "Release" 42 | # PROP Intermediate_Dir "Release" 43 | # PROP Target_Dir "" 44 | # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Yu"stdafx.h" /FD /c 45 | # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c 46 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 47 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD BASE RSC /l 0x409 /d "NDEBUG" 49 | # ADD RSC /l 0x409 /d "NDEBUG" 50 | BSC32=bscmake.exe 51 | # ADD BASE BSC32 /nologo 52 | # ADD BSC32 /nologo 53 | LINK32=link.exe 54 | # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 55 | # ADD LINK32 /nologo /subsystem:windows /machine:I386 56 | 57 | !ELSEIF "$(CFG)" == "ImageCapture - Win32 Debug" 58 | 59 | # PROP BASE Use_MFC 5 60 | # PROP BASE Use_Debug_Libraries 1 61 | # PROP BASE Output_Dir "Debug" 62 | # PROP BASE Intermediate_Dir "Debug" 63 | # PROP BASE Target_Dir "" 64 | # PROP Use_MFC 5 65 | # PROP Use_Debug_Libraries 1 66 | # PROP Output_Dir "Debug" 67 | # PROP Intermediate_Dir "Debug" 68 | # PROP Target_Dir "" 69 | # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /Yu"stdafx.h" /FD /GZ /c 70 | # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c 71 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 72 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD BASE RSC /l 0x409 /d "_DEBUG" 74 | # ADD RSC /l 0x409 /d "_DEBUG" 75 | BSC32=bscmake.exe 76 | # ADD BASE BSC32 /nologo 77 | # ADD BSC32 /nologo 78 | LINK32=link.exe 79 | # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 80 | # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 81 | 82 | !ENDIF 83 | 84 | # Begin Target 85 | 86 | # Name "ImageCapture - Win32 Release" 87 | # Name "ImageCapture - Win32 Debug" 88 | # Begin Group "Source Files" 89 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 91 | # Begin Source File 92 | 93 | SOURCE=.\ImageCapture.cpp 94 | # End Source File 95 | # Begin Source File 96 | 97 | SOURCE=.\ImageCapture.rc 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=.\ImageCaptureDlg.cpp 102 | # End Source File 103 | # Begin Source File 104 | 105 | SOURCE=.\StdAfx.cpp 106 | # ADD CPP /Yc"stdafx.h" 107 | # End Source File 108 | # End Group 109 | # Begin Group "Header Files" 110 | 111 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 112 | # Begin Source File 113 | 114 | SOURCE=.\ImageCapture.h 115 | # End Source File 116 | # Begin Source File 117 | 118 | SOURCE=.\ImageCaptureDlg.h 119 | # End Source File 120 | # Begin Source File 121 | 122 | SOURCE=.\Resource.h 123 | # End Source File 124 | # Begin Source File 125 | 126 | SOURCE=.\StdAfx.h 127 | # End Source File 128 | # End Group 129 | # Begin Group "Resource Files" 130 | 131 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 132 | # Begin Source File 133 | 134 | SOURCE=.\res\ImageCapture.ico 135 | # End Source File 136 | # Begin Source File 137 | 138 | SOURCE=.\res\ImageCapture.rc2 139 | # End Source File 140 | # End Group 141 | # Begin Group "Generated Files" 142 | 143 | # PROP Default_Filter "" 144 | # Begin Source File 145 | 146 | SOURCE=.\Debug\snagit.tlh 147 | # End Source File 148 | # End Group 149 | # Begin Source File 150 | 151 | SOURCE=.\ReadMe.txt 152 | # End Source File 153 | # End Target 154 | # End Project 155 | -------------------------------------------------------------------------------- /Archives/VB.NET/Simple v8.1/VBSnagItCOM.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 26 | 42 | 58 | 59 | 60 | 64 | 68 | 72 | 76 | 80 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 106 | 111 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /Archives/VC6/ImageCapture v8.1/ImageCapture.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="ImageCapture" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 6 | 7 | CFG=ImageCapture - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "ImageCapture.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "ImageCapture.mak" CFG="ImageCapture - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "ImageCapture - Win32 Release" (based on "Win32 (x86) Application") 21 | !MESSAGE "ImageCapture - Win32 Debug" (based on "Win32 (x86) Application") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName ""$/SnagIt/Dev/Samples/VC6/ImageCapture", QEXAAAAA" 27 | # PROP Scc_LocalPath "." 28 | CPP=cl.exe 29 | MTL=midl.exe 30 | RSC=rc.exe 31 | 32 | !IF "$(CFG)" == "ImageCapture - Win32 Release" 33 | 34 | # PROP BASE Use_MFC 5 35 | # PROP BASE Use_Debug_Libraries 0 36 | # PROP BASE Output_Dir "Release" 37 | # PROP BASE Intermediate_Dir "Release" 38 | # PROP BASE Target_Dir "" 39 | # PROP Use_MFC 5 40 | # PROP Use_Debug_Libraries 0 41 | # PROP Output_Dir "Release" 42 | # PROP Intermediate_Dir "Release" 43 | # PROP Target_Dir "" 44 | # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Yu"stdafx.h" /FD /c 45 | # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c 46 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 47 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD BASE RSC /l 0x409 /d "NDEBUG" 49 | # ADD RSC /l 0x409 /d "NDEBUG" 50 | BSC32=bscmake.exe 51 | # ADD BASE BSC32 /nologo 52 | # ADD BSC32 /nologo 53 | LINK32=link.exe 54 | # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 55 | # ADD LINK32 /nologo /subsystem:windows /machine:I386 56 | 57 | !ELSEIF "$(CFG)" == "ImageCapture - Win32 Debug" 58 | 59 | # PROP BASE Use_MFC 5 60 | # PROP BASE Use_Debug_Libraries 1 61 | # PROP BASE Output_Dir "Debug" 62 | # PROP BASE Intermediate_Dir "Debug" 63 | # PROP BASE Target_Dir "" 64 | # PROP Use_MFC 5 65 | # PROP Use_Debug_Libraries 1 66 | # PROP Output_Dir "Debug" 67 | # PROP Intermediate_Dir "Debug" 68 | # PROP Target_Dir "" 69 | # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /Yu"stdafx.h" /FD /GZ /c 70 | # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c 71 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 72 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD BASE RSC /l 0x409 /d "_DEBUG" 74 | # ADD RSC /l 0x409 /d "_DEBUG" 75 | BSC32=bscmake.exe 76 | # ADD BASE BSC32 /nologo 77 | # ADD BSC32 /nologo 78 | LINK32=link.exe 79 | # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 80 | # ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept 81 | 82 | !ENDIF 83 | 84 | # Begin Target 85 | 86 | # Name "ImageCapture - Win32 Release" 87 | # Name "ImageCapture - Win32 Debug" 88 | # Begin Group "Source Files" 89 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 91 | # Begin Source File 92 | 93 | SOURCE=.\ImageCapture.cpp 94 | # End Source File 95 | # Begin Source File 96 | 97 | SOURCE=.\ImageCapture.rc 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=.\ImageCaptureDlg.cpp 102 | # End Source File 103 | # Begin Source File 104 | 105 | SOURCE=.\StdAfx.cpp 106 | # ADD CPP /Yc"stdafx.h" 107 | # End Source File 108 | # End Group 109 | # Begin Group "Header Files" 110 | 111 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 112 | # Begin Source File 113 | 114 | SOURCE=.\ImageCapture.h 115 | # End Source File 116 | # Begin Source File 117 | 118 | SOURCE=.\ImageCaptureDlg.h 119 | # End Source File 120 | # Begin Source File 121 | 122 | SOURCE=.\Resource.h 123 | # End Source File 124 | # Begin Source File 125 | 126 | SOURCE=.\StdAfx.h 127 | # End Source File 128 | # End Group 129 | # Begin Group "Resource Files" 130 | 131 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 132 | # Begin Source File 133 | 134 | SOURCE=.\res\ImageCapture.ico 135 | # End Source File 136 | # Begin Source File 137 | 138 | SOURCE=.\res\ImageCapture.rc2 139 | # End Source File 140 | # End Group 141 | # Begin Group "Generated Files" 142 | 143 | # PROP Default_Filter "" 144 | # Begin Source File 145 | 146 | SOURCE=.\Debug\snagit.tlh 147 | # End Source File 148 | # End Group 149 | # Begin Source File 150 | 151 | SOURCE=.\ReadMe.txt 152 | # End Source File 153 | # End Target 154 | # End Project 155 | -------------------------------------------------------------------------------- /VB.NET/BasicImageCapture/VBSnagItCOM.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Local 5 | 7.0.9466 6 | 1.0 7 | {E3270252-6777-44A2-B683-78E48CFFA2B8} 8 | Debug 9 | AnyCPU 10 | 11 | 12 | VBSnagItCOM 13 | 14 | None 15 | JScript 16 | Grid 17 | IE50 18 | false 19 | WinExe 20 | Binary 21 | On 22 | Off 23 | VBSnagItCOM 24 | VBSnagItCOM.Form1 25 | 26 | 27 | WindowsFormsWithCustomSubMain 28 | v2.0 29 | 0.0 30 | 31 | 32 | 33 | bin\ 34 | VBSnagItCOM.xml 35 | 285212672 36 | 37 | 38 | true 39 | true 40 | true 41 | false 42 | false 43 | false 44 | false 45 | 1 46 | 42016,42017,42018,42019,42032,42353,42354,42355 47 | full 48 | AllRules.ruleset 49 | 50 | 51 | bin\ 52 | VBSnagItCOM.xml 53 | 285212672 54 | 55 | 56 | false 57 | true 58 | false 59 | true 60 | false 61 | false 62 | false 63 | 1 64 | 42016,42017,42018,42019,42032,42353,42354,42355 65 | none 66 | AllRules.ruleset 67 | 68 | 69 | 70 | {49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A} 71 | 1 72 | 0 73 | 0 74 | tlbimp 75 | 76 | 77 | System 78 | 79 | 80 | System.Data 81 | 82 | 83 | System.Drawing 84 | 85 | 86 | System.Windows.Forms 87 | 88 | 89 | System.XML 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | Code 104 | 105 | 106 | Form 107 | 108 | 109 | Form1.vb 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /VB.NET/ImageCaptureKeepLinks/VBSnagItCOM.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Local 5 | 7.0.9466 6 | 1.0 7 | {E3270252-6777-44A2-B683-78E48CFFA2B8} 8 | Debug 9 | AnyCPU 10 | 11 | 12 | VBSnagItCOM 13 | 14 | None 15 | JScript 16 | Grid 17 | IE50 18 | false 19 | WinExe 20 | Binary 21 | On 22 | Off 23 | VBSnagItCOM 24 | VBSnagItCOM.Form1 25 | 26 | 27 | WindowsFormsWithCustomSubMain 28 | v2.0 29 | 0.0 30 | 31 | 32 | 33 | bin\ 34 | VBSnagItCOM.xml 35 | 285212672 36 | 37 | 38 | true 39 | true 40 | true 41 | false 42 | false 43 | false 44 | false 45 | 1 46 | 42016,42017,42018,42019,42032,42353,42354,42355 47 | full 48 | AllRules.ruleset 49 | 50 | 51 | bin\ 52 | VBSnagItCOM.xml 53 | 285212672 54 | 55 | 56 | false 57 | true 58 | false 59 | true 60 | false 61 | false 62 | false 63 | 1 64 | 42016,42017,42018,42019,42032,42353,42354,42355 65 | none 66 | AllRules.ruleset 67 | 68 | 69 | 70 | {49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A} 71 | 1 72 | 0 73 | 0 74 | tlbimp 75 | 76 | 77 | System 78 | 79 | 80 | System.Data 81 | 82 | 83 | System.Drawing 84 | 85 | 86 | System.Windows.Forms 87 | 88 | 89 | System.XML 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | Code 104 | 105 | 106 | Form 107 | 108 | 109 | Form1.vb 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /Archives/CSharp/Simple/Simple.csproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 22 | 40 | 58 | 59 | 60 | 65 | 70 | 75 | 80 | 85 | 93 | 94 | 95 | 96 | 97 | 101 | 106 | 111 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /Archives/CSharp/Simple v8.1/Simple.csproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 22 | 40 | 58 | 59 | 60 | 65 | 70 | 75 | 80 | 85 | 93 | 94 | 95 | 96 | 97 | 101 | 106 | 111 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Comprehensive/VideoSample.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Local 5 | 9.0.30729 6 | 2.0 7 | {A3D1630D-9E91-4336-9A1D-165851D268CF} 8 | Debug 9 | AnyCPU 10 | App.ico 11 | 12 | 13 | VideoSample 14 | 15 | 16 | JScript 17 | Grid 18 | IE50 19 | false 20 | WinExe 21 | VideoSample 22 | 23 | 24 | 25 | 26 | 27 | 28 | 3.5 29 | v2.0 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | bin\Debug\ 41 | false 42 | 285212672 43 | false 44 | 45 | 46 | DEBUG;TRACE 47 | 48 | 49 | true 50 | 4096 51 | false 52 | false 53 | false 54 | false 55 | 4 56 | full 57 | prompt 58 | AllRules.ruleset 59 | 60 | 61 | bin\Release\ 62 | false 63 | 285212672 64 | false 65 | 66 | 67 | TRACE 68 | 69 | 70 | false 71 | 4096 72 | true 73 | false 74 | false 75 | false 76 | 4 77 | none 78 | prompt 79 | AllRules.ruleset 80 | 81 | 82 | 83 | System 84 | 85 | 86 | System.Data 87 | 88 | 89 | System.Drawing 90 | 91 | 92 | System.Windows.Forms 93 | 94 | 95 | System.XML 96 | 97 | 98 | 99 | 100 | 101 | Code 102 | 103 | 104 | 105 | Form 106 | 107 | 108 | Form1.cs 109 | 110 | 111 | 112 | 113 | {49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A} 114 | 1 115 | 0 116 | 0 117 | tlbimp 118 | False 119 | True 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Comprehensive/ImageCaptureSample.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {D7C07A69-4C82-4FEB-A689-AF78D95BF4D9} 8 | WinExe 9 | Properties 10 | ImageCaptureSample 11 | ImageCaptureSample 12 | v4.0 13 | 512 14 | Client 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | Form 50 | 51 | 52 | CaptionOptions.cs 53 | 54 | 55 | Form 56 | 57 | 58 | DateTimeFormat.cs 59 | 60 | 61 | Form 62 | 63 | 64 | Form1.cs 65 | 66 | 67 | 68 | 69 | 70 | CaptionOptions.cs 71 | 72 | 73 | DateTimeFormat.cs 74 | 75 | 76 | Form1.cs 77 | 78 | 79 | ResXFileCodeGenerator 80 | Resources.Designer.cs 81 | Designer 82 | 83 | 84 | True 85 | Resources.resx 86 | True 87 | 88 | 89 | SettingsSingleFileGenerator 90 | Settings.Designer.cs 91 | 92 | 93 | True 94 | Settings.settings 95 | True 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | {49A23F8B-91B7-49AB-8DC3-8E4F56FCB17A} 104 | 1 105 | 0 106 | 0 107 | tlbimp 108 | False 109 | False 110 | 111 | 112 | 113 | 120 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Form1.cs: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | // This is a sample C# sample application to demonstrates how to 3 | // perform a Snagit COM image capture and save it to a file. 4 | // The image can be previewed in the Snagit Editor. Clicking on 5 | // The green "Finish" button in the editor will prompt you for 6 | // the name and location to save the capture. It will default to 7 | // the JPEG file type as specified in the code below. 8 | // Note: This sample was created using the Snagit 12.2.2 COM interface 9 | // and was setup to support .NET 4. 10 | // This code is backward compatible clear back to Snagit 8.1.0. 11 | // 12 | // Support e-mail: support@techsmith.zendesk.com 13 | // This software is provided under the MIT License (http://opensource.org/licenses/MIT) 14 | // Copyright (c) 2014 TechSmith Corporation 15 | // 16 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this 17 | // software and associated documentation files (the "Software"), to deal in the Software 18 | // without restriction, including without limitation the rights to use, copy, modify, merge, 19 | // publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons 20 | // to whom the Software is furnished to do so, subject to the following conditions: 21 | // The above copyright notice and this permission notice shall be included in all copies 22 | // or substantial portions of the Software. 23 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 24 | // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 25 | // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 26 | // FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 27 | // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 28 | //--------------------------------------------------------------------------- 29 | using System; 30 | using System.Windows.Forms; 31 | using SNAGITLib; 32 | 33 | namespace SimpleImageCapture 34 | { 35 | public partial class Form1 : Form 36 | { 37 | // Declare the SnagIt ImageCapture object. 38 | // NOTE: First you must add a reference to 39 | // the SNAGIT 1.0 Type Library in order for 40 | // this line to compile. Please be sure to 41 | // set the Embed Interop Types to False in 42 | // the SNAGITLib reference properties. 43 | public readonly ImageCaptureClass SnagImg; 44 | 45 | public Form1() 46 | { 47 | InitializeComponent(); 48 | 49 | // Create a new SnagIt ImageCapture object. 50 | // NOTE: First you must add a reference to 51 | // the SNAGIT 1.0 Type Library 52 | SnagImg = new ImageCaptureClass(); 53 | 54 | //Default some controls 55 | CaptureBttn.Enabled = false; 56 | MagnifierChkBx.Enabled = false; 57 | 58 | } 59 | 60 | private void CaptureBttn_Click( object sender, EventArgs e ) 61 | { 62 | // Set the output to file and prompt for the name 63 | SnagImg.Output = snagImageOutput.sioFile; 64 | SnagImg.OutputImageFile.FileNamingMethod = snagOuputFileNamingMethod.sofnmPrompt; 65 | 66 | // Default the file type to JPEG 67 | SnagImg.OutputImageFile.FileType = snagImageFileType.siftJPEG; 68 | SnagImg.OutputImageFile.Quality = 90; //90% quality 69 | SnagImg.OutputImageFile.ColorDepth = snagImageColorDepth.sicd24Bit; 70 | SnagImg.OutputImageFile.FileSubType = snagImageFileSubType.sifstJTIF_444; 71 | 72 | // Show Preview Window? 73 | SnagImg.EnablePreviewWindow = PreviewChkBx.Checked; 74 | 75 | // Include the cursor in the capture? 76 | SnagImg.IncludeCursor = CursorChkBx.Checked; 77 | 78 | // Show the magnifier when selecting 79 | SnagImg.UseMagnifierWindow = MagnifierChkBx.Checked && CaptureType.Text == "Region"; 80 | 81 | // Try to initiate the capture.. catch any errors and display an 82 | // appropriate error message. Here, SnagIt expiration error is shown 83 | // as an example. 84 | try 85 | { 86 | SnagImg.Capture(); 87 | } 88 | catch 89 | { 90 | txtBoxErrors.Text = SnagImg.LastError.ToString(); 91 | } 92 | } 93 | 94 | private void CaptureType_SelectedIndexChanged( object sender, EventArgs e ) 95 | { 96 | CaptureBttn.Enabled = true; 97 | MagnifierChkBx.Checked = false; 98 | MagnifierChkBx.Enabled = false; 99 | 100 | // Set the capture input type 101 | switch ( CaptureType.Text ) 102 | { 103 | case "Desktop": 104 | { 105 | SnagImg.Input = snagImageInput.siiDesktop; 106 | break; 107 | } 108 | case "Window": 109 | { 110 | SnagImg.Input = snagImageInput.siiWindow; 111 | break; 112 | } 113 | default: // "Region" 114 | { 115 | MagnifierChkBx.Enabled = true; 116 | SnagImg.Input = snagImageInput.siiRegion; 117 | break; 118 | } 119 | } 120 | 121 | } 122 | } 123 | } 124 | -------------------------------------------------------------------------------- /Archives/VB6/Simple/Form1.frm: -------------------------------------------------------------------------------- 1 | VERSION 5.00 2 | Begin VB.Form Form1 3 | Caption = "SnagIt COM Example" 4 | ClientHeight = 2550 5 | ClientLeft = 60 6 | ClientTop = 450 7 | ClientWidth = 4455 8 | LinkTopic = "Form1" 9 | ScaleHeight = 2550 10 | ScaleWidth = 4455 11 | StartUpPosition = 3 'Windows Default 12 | Begin VB.Frame Frame2 13 | Caption = "Options" 14 | Height = 1335 15 | Left = 2160 16 | TabIndex = 1 17 | Top = 120 18 | Width = 2175 19 | Begin VB.CheckBox ChkPreviewWindow 20 | Caption = "Preview Window" 21 | Height = 375 22 | Left = 120 23 | TabIndex = 5 24 | Top = 600 25 | Width = 1935 26 | End 27 | Begin VB.CheckBox ChkIncludeCursor 28 | Caption = "Include Cursor" 29 | Height = 375 30 | Left = 120 31 | TabIndex = 4 32 | Top = 240 33 | Width = 1935 34 | End 35 | End 36 | Begin VB.Frame Frame1 37 | Caption = "Capture Type" 38 | Height = 1335 39 | Left = 120 40 | TabIndex = 0 41 | Top = 120 42 | Width = 1935 43 | Begin VB.CommandButton BtnRegion 44 | Caption = "Region Capture" 45 | Height = 375 46 | Left = 240 47 | TabIndex = 3 48 | Top = 840 49 | Width = 1455 50 | End 51 | Begin VB.CommandButton BtnWindow 52 | Caption = "Window Capture" 53 | Height = 375 54 | Left = 240 55 | TabIndex = 2 56 | Top = 360 57 | Width = 1455 58 | End 59 | End 60 | Begin VB.Label Label1 61 | Caption = "For simplicity, we will always output to a file, the name of which will be supplied by the user when prompted." 62 | Height = 735 63 | Left = 120 64 | TabIndex = 6 65 | Top = 1680 66 | Width = 4215 67 | End 68 | End 69 | Attribute VB_Name = "Form1" 70 | Attribute VB_GlobalNameSpace = False 71 | Attribute VB_Creatable = False 72 | Attribute VB_PredeclaredId = True 73 | Attribute VB_Exposed = False 74 | '///////////////////////////////////////////////////////////////////////////// 75 | '// Form1.frm - VB6 simple image capture example 76 | '// 77 | '// SnagIt COM server example code 78 | '// 79 | '// Support e-mail: support.snagitcom@techsmith.com 80 | '// 81 | '// Copyright 2003 TechSmith Corporation. All rights reserved. 82 | '///////////////////////////////////////////////////////////////////////////// 83 | 84 | 85 | ' To use the COM server you must add a "reference" to it by choosing 86 | ' "References" from the Project menu. Put a check-mark next to 87 | ' "SNAGIT 1.0 Type Library" and click "OK". 88 | 89 | 'Create an image capture object 90 | Dim SnagImg As SNAGITLib.ImageCapture 91 | 92 | Private Sub Form_Load() 93 | ' Instantiate an instance of the COM object 94 | Set SnagImg = CreateObject("SNAGIT.ImageCapture") 95 | 96 | End Sub 97 | 98 | Private Sub BtnRegion_Click() 99 | ' Choose an input and an output: 100 | SnagImg.Input = SNAGITLib.snagImageInput.siiRegion 101 | SnagImg.Output = SNAGITLib.snagImageOutput.sioFile 102 | 103 | ' Prompting for the file name is the default, but it cannot hurt to 104 | ' set this explicitly 105 | SnagImg.OutputImageFile.FileNamingMethod = SNAGITLib.snagOuputFileNamingMethod.sofnmPrompt 106 | 107 | ' Show Preview Window? 108 | SnagImg.EnablePreviewWindow = (ChkPreviewWindow.Value = vbChecked) 109 | 110 | ' Include cursor if set 111 | SnagImg.IncludeCursor = (ChkIncludeCursor.Value = vbChecked) 112 | 113 | 'Initiate the capture trapping any errors. Display a message for 114 | 'the error case where the SnagIt evaluation has expired. 115 | On Error GoTo captureError 116 | SnagImg.Capture 117 | Return 118 | 119 | captureError: 120 | If SnagImg.LastError = serrSnagItExpired Then 121 | MsgBox "Unable to capture: SnagIt evaluation has expired" 122 | End If 123 | 124 | End Sub 125 | 126 | Private Sub BtnWindow_Click() 127 | ' Choose an input and an output: 128 | SnagImg.Input = SNAGITLib.snagImageInput.siiWindow 129 | SnagImg.Output = SNAGITLib.snagImageOutput.sioFile 130 | 131 | ' Prompting for the file name is the default, but it cannot hurt to 132 | ' set this explicitly 133 | SnagImg.OutputImageFile.FileNamingMethod = SNAGITLib.snagOuputFileNamingMethod.sofnmPrompt 134 | 135 | ' Show Preview Window? 136 | SnagImg.EnablePreviewWindow = (ChkPreviewWindow.Value = vbChecked) 137 | 138 | ' Include cursor if set 139 | SnagImg.IncludeCursor = (ChkIncludeCursor.Value = vbChecked) 140 | 141 | 'Initiate the capture trapping any errors. Display a message for 142 | 'the error case where the SnagIt evaluation has expired. 143 | On Error GoTo captureError 144 | SnagImg.Capture 145 | Return 146 | 147 | captureError: 148 | If SnagImg.LastError = serrSnagItExpired Then 149 | MsgBox "Unable to capture: SnagIt evaluation has expired" 150 | End If 151 | 152 | End Sub 153 | 154 | 155 | -------------------------------------------------------------------------------- /Archives/VC6/SIMPLE/MFCSimple.rc: -------------------------------------------------------------------------------- 1 | //Microsoft Developer Studio generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // English (U.S.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 21 | #pragma code_page(1252) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE DISCARDABLE 31 | BEGIN 32 | "resource.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE DISCARDABLE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE DISCARDABLE 42 | BEGIN 43 | "#define _AFX_NO_SPLITTER_RESOURCES\r\n" 44 | "#define _AFX_NO_OLE_RESOURCES\r\n" 45 | "#define _AFX_NO_TRACKER_RESOURCES\r\n" 46 | "#define _AFX_NO_PROPERTY_RESOURCES\r\n" 47 | "\r\n" 48 | "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" 49 | "#ifdef _WIN32\r\n" 50 | "LANGUAGE 9, 1\r\n" 51 | "#pragma code_page(1252)\r\n" 52 | "#endif //_WIN32\r\n" 53 | "#include ""res\\MFCSimple.rc2"" // non-Microsoft Visual C++ edited resources\r\n" 54 | "#include ""afxres.rc"" // Standard components\r\n" 55 | "#endif\r\n" 56 | "\0" 57 | END 58 | 59 | #endif // APSTUDIO_INVOKED 60 | 61 | 62 | ///////////////////////////////////////////////////////////////////////////// 63 | // 64 | // Icon 65 | // 66 | 67 | // Icon with lowest ID value placed first to ensure application icon 68 | // remains consistent on all systems. 69 | IDR_MAINFRAME ICON DISCARDABLE "res\\MFCSimple.ico" 70 | 71 | ///////////////////////////////////////////////////////////////////////////// 72 | // 73 | // Dialog 74 | // 75 | 76 | IDD_MFCSIMPLE_DIALOG DIALOGEX 0, 0, 179, 102 77 | STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU 78 | EXSTYLE WS_EX_APPWINDOW 79 | CAPTION "MFCSimple" 80 | FONT 8, "MS Sans Serif" 81 | BEGIN 82 | GROUPBOX "Capture Type",IDC_STATIC,7,7,75,55 83 | GROUPBOX "Options",IDC_STATIC,89,7,83,55 84 | CONTROL "Include Cursor",IDC_CURSOR_CHECK,"Button", 85 | BS_AUTOCHECKBOX | WS_TABSTOP,97,22,61,10 86 | CONTROL "Preview Window",IDC_PREVIEW_CHECK,"Button", 87 | BS_AUTOCHECKBOX | WS_TABSTOP,97,37,69,10 88 | PUSHBUTTON "Window Capture",IDC_WINCAPTURE_BUTTON,15,22,61,14 89 | PUSHBUTTON "Region Capture",IDC_REGCAPTURE_BUTTON,14,41,62,14 90 | LTEXT "For simplicity, we will always output to a file, the name of which will be supplied by the user when prompted.", 91 | IDC_STATIC,7,67,165,27 92 | END 93 | 94 | 95 | #ifndef _MAC 96 | ///////////////////////////////////////////////////////////////////////////// 97 | // 98 | // Version 99 | // 100 | 101 | VS_VERSION_INFO VERSIONINFO 102 | FILEVERSION 1,0,0,1 103 | PRODUCTVERSION 1,0,0,1 104 | FILEFLAGSMASK 0x3fL 105 | #ifdef _DEBUG 106 | FILEFLAGS 0x1L 107 | #else 108 | FILEFLAGS 0x0L 109 | #endif 110 | FILEOS 0x4L 111 | FILETYPE 0x1L 112 | FILESUBTYPE 0x0L 113 | BEGIN 114 | BLOCK "StringFileInfo" 115 | BEGIN 116 | BLOCK "040904B0" 117 | BEGIN 118 | VALUE "CompanyName", "\0" 119 | VALUE "FileDescription", "MFCSimple MFC Application\0" 120 | VALUE "FileVersion", "1, 0, 0, 1\0" 121 | VALUE "InternalName", "MFCSimple\0" 122 | VALUE "LegalCopyright", "Copyright (C) 2003\0" 123 | VALUE "LegalTrademarks", "\0" 124 | VALUE "OriginalFilename", "MFCSimple.EXE\0" 125 | VALUE "ProductName", "MFCSimple Application\0" 126 | VALUE "ProductVersion", "1, 0, 0, 1\0" 127 | END 128 | END 129 | BLOCK "VarFileInfo" 130 | BEGIN 131 | VALUE "Translation", 0x409, 1200 132 | END 133 | END 134 | 135 | #endif // !_MAC 136 | 137 | 138 | ///////////////////////////////////////////////////////////////////////////// 139 | // 140 | // DESIGNINFO 141 | // 142 | 143 | #ifdef APSTUDIO_INVOKED 144 | GUIDELINES DESIGNINFO DISCARDABLE 145 | BEGIN 146 | IDD_MFCSIMPLE_DIALOG, DIALOG 147 | BEGIN 148 | LEFTMARGIN, 7 149 | RIGHTMARGIN, 172 150 | TOPMARGIN, 7 151 | BOTTOMMARGIN, 95 152 | END 153 | END 154 | #endif // APSTUDIO_INVOKED 155 | 156 | #endif // English (U.S.) resources 157 | ///////////////////////////////////////////////////////////////////////////// 158 | 159 | 160 | 161 | #ifndef APSTUDIO_INVOKED 162 | ///////////////////////////////////////////////////////////////////////////// 163 | // 164 | // Generated from the TEXTINCLUDE 3 resource. 165 | // 166 | #define _AFX_NO_SPLITTER_RESOURCES 167 | #define _AFX_NO_OLE_RESOURCES 168 | #define _AFX_NO_TRACKER_RESOURCES 169 | #define _AFX_NO_PROPERTY_RESOURCES 170 | 171 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 172 | #ifdef _WIN32 173 | LANGUAGE 9, 1 174 | #pragma code_page(1252) 175 | #endif //_WIN32 176 | #include "res\MFCSimple.rc2" // non-Microsoft Visual C++ edited resources 177 | #include "afxres.rc" // Standard components 178 | #endif 179 | 180 | ///////////////////////////////////////////////////////////////////////////// 181 | #endif // not APSTUDIO_INVOKED 182 | 183 | -------------------------------------------------------------------------------- /CSharp/Image Capture Samples/Simple/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /CSharp/Video Capture Samples/Simple/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | --------------------------------------------------------------------------------