လြယ္လြယ္ေလးပါ.......Notepad မွာတင္မဟုတ္ပါဘူး.ၾကိဳက္တဲ့ေနရာမွာ...ေရးႏိုင္ပါတယ္....
Auto Typing ဆိုေတာ့.ရည္းစားစကားေၿပာတဲ့ေနရာေတြမွာအသံုး၀င္မယ္ထင္တယ္....:D
ကဲ..စမယ္..........Notepad ဖြင့္ၿပီး...ေအာက္ကကုဒ္ေတြကို Copy ကူးလိုက္ပါ.......
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "Sky is Blue"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "I love is true"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "Leaf is green"
WScript.Sleep 500
WshShell.SendKeys" "
WScript.Sleep 500
WshShell.SendKeys "I love is clean"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys " Rose is Red"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "I love is best"
စာသားေနရာမွာ..ကိုယ္ၾကိဳက္တာေတြေရးလို႕ရပါတယ္.......I Love U ဘာညာေပ့ါ....:O
ၿပီးၿပီဆိုရင္ေတာ့.....vbs နဲ႕ Save လုိက္ပါ......ဥပမာ......... autotype.vbs ေပ့ါ....
ၿပီးရင္ေတာ့...Double Click နဲ႕ Run ၾကည့္လိုက္ပါ.......
Notepad တစ္ခုပြင့္လာၿပီး...စာေတြအလုိအေလ်ာက္ရိုက္သြားတာကိုေတြ႕ရပါလိ့မ္မယ္.....
သူမ်ားေတြကို..စေနာက္ခ်င္တယ္ဆိုရင္ေတာ့....ရလာတဲ့ File ေလးကို ..Upload ဆိုဒ္တစ္ခုမွာတင္....
Link ေလးကို ၿဖန္႕လိုက္ေပ့ါ.......:D
Auto Typing ဆိုေတာ့.ရည္းစားစကားေၿပာတဲ့ေနရာေတြမွာအသံုး၀င္မယ္ထင္တယ္....:D
ကဲ..စမယ္..........Notepad ဖြင့္ၿပီး...ေအာက္ကကုဒ္ေတြကို Copy ကူးလိုက္ပါ.......
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "Sky is Blue"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "I love is true"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "Leaf is green"
WScript.Sleep 500
WshShell.SendKeys" "
WScript.Sleep 500
WshShell.SendKeys "I love is clean"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys " Rose is Red"
WScript.Sleep 500
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "I love is best"
စာသားေနရာမွာ..ကိုယ္ၾကိဳက္တာေတြေရးလို႕ရပါတယ္.......I Love U ဘာညာေပ့ါ....:O
ၿပီးၿပီဆိုရင္ေတာ့.....vbs နဲ႕ Save လုိက္ပါ......ဥပမာ......... autotype.vbs ေပ့ါ....
ၿပီးရင္ေတာ့...Double Click နဲ႕ Run ၾကည့္လိုက္ပါ.......
Notepad တစ္ခုပြင့္လာၿပီး...စာေတြအလုိအေလ်ာက္ရိုက္သြားတာကိုေတြ႕ရပါလိ့မ္မယ္.....
သူမ်ားေတြကို..စေနာက္ခ်င္တယ္ဆိုရင္ေတာ့....ရလာတဲ့ File ေလးကို ..Upload ဆိုဒ္တစ္ခုမွာတင္....
Link ေလးကို ၿဖန္႕လိုက္ေပ့ါ.......:D
0 comments:
Post a Comment