Jump to content
Sign in to follow this  
jaehyunb

disable certain key

Recommended Posts

jaehyunb

how do i disable from user from using "printscreen" button while autoit script is running

Share this post


Link to post
Share on other sites
Helge

Edit : Crap, didn't see that it was a topic in the v2-forum.

But while here, I can't remember anything that can be used to do this

in v2.... not AutoIt alone that is, but a third-party program/script will work.

The code below will assign the printscreen-key to a blank function...

HotKeySet("{PrintScreen}", "_Nothing")

Func _Nothing()
  ; Nothing here..
EndFunc
Edited by Helge

Share this post


Link to post
Share on other sites
jaehyunb

is that code for autoit 3.xx ? or something else

Share this post


Link to post
Share on other sites
Sign in to follow this  

×