2008-04-09 03:59:08

jurigvirus
» n00b
FTalk Level: zero
11
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

punteun ngiring naros nembe abdi manggihan js tiasa di anggo di fs teu :crybaby: // Program Sederhana Matiin Komputer Via Klik Kanan // Programmer : Yonatan Prasdikatama var vbCancel = 2; var vbYesNoCancel = 3; var vbYes = 6; var vbNo = 7; var vbQuestion = 32; var vbInformation = 64; var natan = WScript.CreateObject('WScript.Shell'); var kata = '.:: http://ikatama.wordpress.com ::.'; var pesan1 = 'Pilihlah opsi berikut ini:\n'+ '--------------------------\n\n'+ '1. Klik ["Yes"] -> untuk Pasang.\n'+ '2. Klik ["No"] -> untuk Copot.\n'+ '3. Klik ["Cancel"] -> untuk Berhenti.\n\n'+ '>> Pilihan Anda? <<' var tanya = natan.popup(pesan1,0,kata,vbYesNoCancel+vbQuestion); if (tanya == vbYes) { natan.RegWrite('HKCR\\Directory\\shell\\mati\\', '> Jangan Di Tekan!','REG_SZ'); natan.RegWrite('HKCR\\Directory\\shell\\mati\\command\\', 'shutdown.exe -s -t 0','REG_SZ'); natan.RegWrite('HKCR\\Drive\\shell\\mati\\', '> Jangan Di Tekan!','REG_SZ'); natan.RegWrite('HKCR\\Drive\\shell\\mati\\command\\', 'shutdown.exe -s -t 0','REG_SZ'); pesan2 = 'Selesai di pasang!'; natan.popup(pesan2,0,kata,vbInformation); } else if (tanya == vbNo) { natan.RegDelete('HKCR\\Directory\\shell\\mati\\command\\'); natan.RegDelete('HKCR\\Directory\\shell\\mati\\'); natan.RegDelete('HKCR\\Drive\\shell\\mati\\command\\'); natan.RegDelete('HKCR\\Drive\\shell\\mati\\'); pesan3 = 'Selesai di copot!'; natan.popup(pesan3,0,kata,vbInformation); } else { pesan4 = 'Berhenti!'; natan.popup(pesan4,0,kata,vbInformation); }

Board footer

© 2024 F Talk

Current time is 05:25

[ 12 queries - 0.599 second ]
Privacy Policy