تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
لتعطيل القيام ب Alt+F4 من خلال VBScript
#1
كاتب الموضوع : AhmedEssawy


كود :
[color=#000080]<package>[/color]
[color=#000080]<job id=[COLOR=#0000ff]"vbs"[/color]>[/COLOR]
[color=#800000]<script language=[COLOR=#0000ff]"VBScript"[/color]>[/COLOR]
Dim WshShell, BtnCode
set WshShell = WScript.CreateObject("WScript.Shell")
strWythia = WshShell.SpecialFolders("Programs")
set oShellLink = WshShell.CreateShortcut(strWythia & "Alt+F4 Disabler.lnk")
oShellLink.TargetPath = WScript.ScriptFullName
oShellLink.WindowStyle = 1
oShellLink.Hotkey = "ALT+F4"
oShellLink.IconLocation = "SHELL32.dll, 121"
oShellLink.Description = "Alt+F4 is screwed"
oShellLink.WorkingDirectory = strWythia
oShellLink.Save
[color=#800000]</script>[/color]
[color=#000080]</job>[/color]
[color=#000080]</package>[/color]
}}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم