Created
April 21, 2025 14:40
-
-
Save justaguywhocodes/6f057425f7117e4995e103fa71bf1443 to your computer and use it in GitHub Desktop.
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
<?XML version="1.0"?> | |
<scriptlet> | |
<registration | |
description="Tester" | |
progid="Tester" | |
version="1.00" | |
classid="{AAAA0000-0000-0000-0000-0000AAAAAAAA}" | |
> | |
<script language="JScript"> | |
<![CDATA[ | |
var r = new ActiveXObject("WScript.Shell").Run("powershell -c \"write-host -ForegroundColor Cyan $(Get-Date -Format s) 'Download Cradle test success!';Read-Host -Prompt 'Press Enter to continue'\""); | |
]]> | |
</script> | |
</registration> | |
<public> | |
<method name="Exec"></method> | |
</public> | |
<script language="JScript"> | |
<![CDATA[ | |
function Exec() | |
{ | |
var r = new ActiveXObject("WScript.Shell").Run("powershell -c \"write-host -ForegroundColor Cyan $(Get-Date -Format s) 'Download Cradle test success!';Read-Host -Prompt 'Press Enter to continue'\""); | |
} | |
]]> | |
</script> | |
</scriptlet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment