 Bookmarks
 Blog Categories
 Tinggalkan Pesan!
 Alexa Rank
 AntiVirus
 Linux Distributions
 Banner
 Tahukah Anda?
" Richard Trevithick membuat lokomotif uap di tahun 1804 tepatnya pada tanggal 21 February 1804, kereta ini hanya bisa melaju dengan kecepatan 8 km/jam (5 mph)." Richard Trevithick
|
Mengetik Otomotis di Notepad  Author : Sarimin  Date : 30-06-2009  View : 962  Print Download PDF  RSS Feed |
|
Ternyata di Notepad secara otomatis bisa mengetikkan di dirinya sendiri :) mau tau caranya? Sebenarnya ini adalah sebuah script dari Microsoft yang sering disebut sebagai Windows Script Host.
Berikut cara membuatnya :
1. Buka Notepad
2. Ketikkan Script di bawah ini :
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "S"
WScript.Sleep 500
WshShell.SendKeys "a"
WScript.Sleep 500
WshShell.SendKeys "r"
WScript.Sleep 500
WshShell.SendKeys "i"
WScript.Sleep 500
WshShell.SendKeys "m"
WScript.Sleep 500
WshShell.SendKeys "i"
WScript.Sleep 500
WshShell.SendKeys "n"
WScript.Sleep 500
WshShell.SendKeys "G"
WScript.Sleep 500
WshShell.SendKeys "e"
WScript.Sleep 500
WshShell.SendKeys "e"
WScript.Sleep 500
WshShell.SendKeys "k"
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "c"
WScript.Sleep 500
WshShell.SendKeys "o"
WScript.Sleep 500
WshShell.SendKeys "m"
WScript.Sleep 500

Jika Anda menjalankan Windows Script Host di atas maka akan muncul pesan tertulis secara otomatis di Notepad dengan tulisan : SariminGeek.com
|
|
Berita IT menarik lainnya : | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Belum ada pesan tanggapan yang masuk. |
|