Jump to content
Sign in to follow this  
win2k

blockinput(1)

Recommended Posts

win2k

I was just wondering if you can still send key commands from autoit with blockinput(1)

i mean , would this code work the way its supposed to ?

HotKeySet("{END}", "Terminate")

blockinput(1)

If $var <> $service Then
[indent]send("{END}")
Endif 

blockinput(0)

Func Terminate()
    Exit 0
EndFunc

Share this post


Link to post
Share on other sites
Paulie

I was just wondering if you can still send key commands from autoit with blockinput(1)

i mean , would this code work the way its supposed to ?

HotKeySet("{END}", "Terminate")

blockinput(1)

If $var <> $service Then
[indent]send("{END}")
Endif 

blockinput(0)

Func Terminate()
    Exit 0
EndFunc
Try it and find out :whistle:

Share this post


Link to post
Share on other sites
JSThePatriot

Pulled from the help file on BlockInput

Operating System "BlockInput" Results

Windows 95 No effect.

Windows 98/Me User input is blocked but AutoIt is also unable to simulate input.

Windows NT 4 (Without ServicePack 6) No effect.

Windows NT 4 (With ServicePack 6) User input is blocked and AutoIt can simulate most input.

Windows 2000 User input is blocked and AutoIt can simulate most input.

Windows XP User input is blocked and AutoIt can simulate most input. See exceptions below.

I hope this helps in your answer.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites
win2k

coool, thanks. im tired of looking stuff up lol i got a massive headache today and thinking hard just makes it worse

Share this post


Link to post
Share on other sites
JSThePatriot

coool, thanks. im tired of looking stuff up lol i got a massive headache today and thinking hard just makes it worse

I totally understand. Sometimes a break is required.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.