Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@hymkor hymkor released this 13 Feb 14:31
· 23 commits to master since this release
  • (#35) Add the new function: sendvkey(VIRTUAL_KEYCODE). (Thanks to @chrisdonlan)
  • Fix the Go language version used for building to 1.20.14 for Windows 7,8,Server2008, and 2012R1/R2

Example for sendvkey

local pid = spawn("cmd.exe")
if not pid then
    os.exit(1)
end
send("rem exit")
sleep(1)
sendvkey(0x24) -- HOME
sendvkey(0x2E) -- DELETE
sendvkey(0x2E) -- DELETE
sendvkey(0x2E) -- DELETE
sendvkey(0x2E) -- DELETE
sendln("")
wait(pid)