ClipBoard
From Avisynth wiki
| Abstract | |
|---|---|
| Author | StainlessS |
| Version | v0.04 |
| Download | ClipBoard_25_26_x86_x64_dll_v0.04_20190326.zip |
| Category | Support filters |
| License | GPLv2 |
| Discussion | Doom9 Forum |
Contents |
Description
Plugin to copy clipboard value into an AviSynth variable.
Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- *** vcredist_x86.exe is required for ClipBoard-x86
- *** vcredist_x64.exe is required for ClipBoard-x64
Syntax and Parameters
ClipBoard_GetText() : Get text from ClipBoard.
Returns:-
Int,
0 : ANSI text not available on ClipBoard
-1: Cannot Open Clipboard
-2: Cannot get ClipBoard data
-3: Lock ClipBoard memory failed
String,
ANSI TEXT String from ClipBoard.
###
ClipBoard_Clear() : Clear everything from ClipBoard [TAKE CARE, should only really be done by the USER].
Int Returns:-
0 : SUCCESS
-1: Cannot Open Clipboard
-2: Cannot CLEAR ClipBoard
###
ClipBoard_PutText(String s) : Clear ClipBoard and then set string s as ANSI Text on ClipBoard [Error alert if s==""].
[TAKE CARE, only USER should set ClipBoard data].
Returns:-
Int,
0 : SUCCESS
-1: Cannot Open Clipboard
-2: Cannot CLEAR ClipBoard
-3: Cannot SET ClipBoard Text
-4: Cannot Allocate system GLOBAL memory
###
ClipBoard_GetLastError() : Get system error code as Int for previous call to ClipBoard functions. (Error Code cleared on entry to ClipBoard functions)
Returns:-
0 : No Error
Else Some system Error Code.
###
ClipBoard_GetLastErrorString() : Get system error as String, for previous call to ClipBoard functions. (Error Code cleared on entry to ClipBoard functions)
Returns:- Error String describing error code.
###
ClipBoard_GetDIB(Bool "Debug"=False) : Get DIB/BitMap from ClipBoard (RGB24 and RGB32[as RGB24] Only).
Debug, Default False, sends some debug stuff to the DebugView window (Google). May be removed in future version.
Returns:-
Int,
0 : DIB Bitmap not available on ClipBoard
-1: Cannot Open Clipboard
-2: Cannot get ClipBoard data
-3: Lock ClipBoard memory failed
-?: Other errors (See DebugView output, Google)
Clip,
DIB/Bitmap from ClipBoard. (Single Frame RGB24 @ 24FPS).
Examples
Changelog
v0.00, 23 May 2016. 1st test release. v0.01, 30 May 2016. 2nd release. v0.02, 15 Jan 2019. Moved to VS2008, Added Version resource + v2.6/+ x86 and x64.
Archived Downloads
| Version | Download | Mirror |
|---|---|---|
| v0.04 | ClipBoard_25_26_x86_x64_dll_v0.04_20190326.zip | ClipBoard_25&26_x86_x64_dll_v0.04_20190326.zip |
External Links
Back to External Filters ←