3-باز کردن Notepad و تایپ اتوماتیک یک پیغام
کد زیر هم در هنگام اجرا به صورت خودکار نرم افزار Notepad ویندوز کاربر را باز می کند و در آن متنی می نویسد.(ویرایش شد و نسخه سالم هست)
Set wshshell = wscript.CreateObject("WScript.Shell") Wshshell.run "Notepad" wscript.sleep 100 wshshell.sendkeys "و" wscript.sleep 100 wshshell.sendkeys "ب" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "ش" wscript.sleep 100 wshshell.sendkeys "ي" wscript.sleep 100 wshshell.sendkeys "ک" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "د" wscript.sleep 100 wshshell.sendkeys "ا" wscript.sleep 100 wshshell.sendkeys "ت" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "آ" wscript.sleep 100 wshshell.sendkeys "ي" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "آ" wscript.sleep 100 wshshell.sendkeys "ر" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "د" wscript.sleep 100 wshshell.sendkeys "و" wscript.sleep 100 wshshell.sendkeys "س" wscript.sleep 100 wshshell.sendkeys "ت" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "د" wscript.sleep 100 wshshell.sendkeys "ا" wscript.sleep 100 wshshell.sendkeys "ر" wscript.sleep 100 wshshell.sendkeys "م" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "و" wscript.sleep 100 wshshell.sendkeys "ي" wscript.sleep 100 wshshell.sendkeys "ر" wscript.sleep 100 wshshell.sendkeys "و" wscript.sleep 100 wshshell.sendkeys "س" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "پ" wscript.sleep 100 wshshell.sendkeys "خ" wscript.sleep 100 wshshell.sendkeys "ش" wscript.sleep 100 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "ش" wscript.sleep 100 wshshell.sendkeys "د" wscript.sleep 100 wshshell.sendkeys "خ" wscript.sleep 100 wshshell.sendkeys "خ" wscript.sleep 100
wshshell.sendkeys "خ"
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0