Sign in to follow this  
Followers 0
jaehyunb

disable certain key

4 posts in this topic

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



#2 ·  Posted (edited)

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

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  
Followers 0