Jump to content

use blockinput() withouth UAC - (Moved)


Recommended Posts

  • Developers

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers
Posted (edited)
1 hour ago, jepri said:

a) How to use blockinput withouth :

1) #requireadmin

2) required UAC

b) how to by pass UAC? 

Why post the same question again after you marked this one completed? Please stuck to one thread for the same topic!
I see you even posted one more which was zapped by us already, so you better not do this again.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

how to exclude _BlockInput from my script using send function "Send("testing")".
when i use _BlockInput($BI_DISABLE) function Send("testing") not write to notepad.
thankyou.

Link to comment
Share on other sites

  • Developers
Posted (edited)

I told you not to cross post and the first thing you do is post the same question in 2 thread.
This is your last warning, next time this happens you will be banned for a while.

The other post is removed.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

@jepri  Use Control* functions when you are blocking all inputs.  Send is just like typing.

#include "BlockInputEX.au3"

Run("Notepad")
Local $hWnd = WinWaitActive("[CLASS:Notepad]")

_BlockInput($BI_DISABLE)              ; block input

ControlSetText($hWnd, "", "Edit1", "This is a test" & @CRLF)
Sleep(1000)
ControlSend($hWnd, "", "Edit1", "New line here" & @CR)

Sleep(3000)

_BlockInput($BI_ENABLE)               ; enable input

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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