notepad - How to press "ALT+F4" using AutoIt -
i new in autoit. have run notepad using following code in autoit:
run("notepad.exe")
now want quit application using "alt+f4". how press "alt+f4" autoit tool?
you'll want check out documentation autoit - pretty good.
the 1 you're looking is: https://www.autoitscript.com/autoit3/docs/functions/send.htm
keep in mind want make sure window active or you're targeting window.
with that, recommend using : https://www.autoitscript.com/autoit3/docs/functions/controlsend.htm
controlsend() works in similar way send() can send key strokes directly window/control, rather active window.
Comments
Post a Comment