Jump to content

Recommended Posts

Posted

how do i disable printscreen button while autoit script is running

i would also like to know how to do that in autoit 2.xx as well

<{POST_SNAPBACK}>

Have a look at this thread to see if it helps you. I can do no more as I do not understand the script I just found it by searching.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

how do i disable printscreen button while autoit script is running

i would also like to know how to do that in autoit 2.xx as well

<{POST_SNAPBACK}>

i'm not sure about disabling the print screen key itself, but if your intent is to kill the screenshot capability, you could make a script that puts an empty string into the clipboard when the key is pressed...one sec i'll write something up real quick and test it...
Posted

i'm not sure about disabling the print screen key itself, but if your intent is to kill the screenshot capability, you could make a script that puts an empty string into the clipboard when the key is pressed...one sec i'll write something up real quick and test it...

<{POST_SNAPBACK}>

here ya go:

#include<ispressed.au3>
while 1
if _IsPressed("2c") Then
ClipPut("")
MsgBox(0,"oops","print screen is disabled")
EndIf
sleep(100)
WEnd

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...