联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
set wshshell=createobject("wscript.shell") line=inputbox("Which line do you want to mark?") one=inputbox("Which one do you want to mark?") if not isnumeric(line) or not isnumeric(one) then msgbox "You did not specify a number!" wscript.quit elseif line=flase then wscript.quit elseif one=flase then wscript.quit else line=fix(line) if line<1 then msgbox "Your line number is invalid" wscript.quit end if end if wscript.sleep(200) wshshell.sendkeys "^{home}" for x=1 to line-1 wshshell.sendkeys "{down}" wscript.sleep 10 next wscript.sleep(200) for x=1 to one-1 wshshell.sendkeys "{right}" wscript.sleep 10 next wshshell.sendkeys "+{right}"