Jump to content

Program blocking inputs


Recommended Posts

How would you be able to get around a program that seems to block Software Generated Keys? If I click the desktop, one mouse click will work. But then it stops. Is there some way to get passed this?

Thanks in advance.

You will need to be a bit more descriptive and post the code you are working on.

Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size]

Link to comment
Share on other sites

HotKeySet("{HOME}", "Start")

HotKeySet("!{HOME}","Quit")

TogglePause()

func Start()

HotKeySet("{HOME}")

HotKeySet("{HOME}", "TogglePause")

ToolTip('Script Started.',0,0)

While 1

Send("{ENTER}")

Send("{LSHIFT down}")

Send("{LCTRL down}")

MouseClick( "left", (Random(560,720)), (Random(462,592)) , 1 , 1 )

Sleep(Random(22000,26000))

WEnd

EndFunc

Func TogglePause()

ToolTip('Script Paused.',0,0)

HotKeySet("{HOME}")

HotKeySet("{HOME}", "Start")

While 1

sleep(100)

WEnd

EndFunc

func Quit()

Exit

EndFunc

I want to stop the program from blocking my mouse click and key presses.

I was just using my desktop for an example in case anyone had any ideas. I want it so I can click in the program without it blocking my script.

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...