Jump to content

Recommended Posts

Posted

BlockInput(1)

Sleep(60000)
BlockInput(0)

Func Exitfunc ()
    Exit
EndFunc

before can work

but when I reinstall windows, BlockInput cannot work

I can type the word and use the mouse smoothly

Is there anything need to be installed or modify?

P.S. user32.dll is well, because _IsPressed function works fine

Posted

during the 60seconds,

I can still move the mouse or click the mouse, and also can type the word

why?

I want to block them

Posted

Because you are Superman?

What system (windows)?

Windows Vista 32 bits

and I have mentioned in 1st post

before can work

but when I reinstall windows, BlockInput cannot work

Posted

You did? Me blind :D ...

I said that I have mentioned

before can work

but when I reinstall windows, BlockInput cannot work

the key point is "before can work"

before<---------the window is the same, i.e. Vista 32 bits

Posted

I'm interested to know if my suggestion helped.

thanks

It really can help

but do you know how can I change the system, so that I no need to add "#Requireadmin" but also can have the same effect

Posted (edited)

What do you mean ? You can't do this without having the right permissions. Unless you/the user has UAC disabled. Or XP :D

Edited by Inverted
Posted

What do you mean ? You can't do this without having the right permissions. Unless you/the user has UAC disabled. Or XP :D

Admin also need to confirm the permissions all the times= =

I have disabled the UAC, thanks for help

Posted

Maybe you can delete that line and enable the option in AutoIt3Wrapper (Resource update : execution level : require administrator)

There is an option to make the compiled exe request privileges. I think it would ask only 1 time.

But to test this you'll need to compile your script with this option, re-enable UAC and reboot, lol. If you do this, post back results !

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
×
×
  • Create New...