ok, please bear in mind this is not THE BEST WAY to achieve disabling copy and paste and that an EXE process that behaved in a proper none CPU hogging way would be the better way to do it. However with the limitations we have on this board i post scripts that everyone can use. Rather than attach a written EXE that might scare people into thinking it was a virus. I suppose i could attach an EXE that would achieve the same thing, if i was asked to
anyway to use the script do the following
open notepad
paste this code into notepad (not including the word "code" )
Code:
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate("about:blank")
l=0
DO
objIE.document.parentwindow.clipboardData.SetData "text", ""
Loop until (l>1)
then save to desktop as disablecopypaste.VBS
note it MUST be saved as .VBS file, not a .TXT file.
then run the script (double click it) and in task manager lower the priority of the script process to LOW. To prevent the computer respose being to slow. Then open a notepad or whatever and try to copy and paste text . To bring back the ability to copy/paste, end the script process in task manager.
Note the process the script runs under is wscript.exe
Bookmarks