Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- DispClip v1.0.1
- https://www.reddit.com/u/jcunews1
- https://pastebin.com/u/jcunews
- https://greasyfork.org/en/users/85671-jcunews
- Display clipboard contents into the standard output.
- For use within a console window, or with redirected output.
- Only works if the clipboard contains text.
- Does nothing if the clipboard doesn't contain any text.
- Usage in Command Prompt e.g.:
- for /f "delims=" %A in ('mshta.exe "d:\tools\dispclip.hta"') do @echo %A
- -->
- <hta:application windowstate=minimize />
- <script language=vbscript>
- on error resume next
- s = clipboarddata.getdata("text")
- if err.number = 0 then
- if not isnull(s) then
- createobject("scripting.filesystemobject").getstandardstream(1).write s
- end if
- end if
- close
- </script>
Add Comment
Please, Sign In to add comment