Jump to content
Sign in to follow this  
akiwitail

Pause Keypress Not Working

Recommended Posts

akiwitail

Hi,

I was trying to run a script with a Pause/Break keypress in it.

But everytime the script executes it fails to register my Pause keypress and skips to the next line.

I'm using:

ControlSend($wWindow, "", "", "{PAUSE}")

I tried using:

Send("{PAUSE}")

but that doesnt work as well.

It works when I press the key manually tho.

Anything that I missed here?

Thanks in advance.

Share this post


Link to post
Share on other sites
akiwitail

Its the Pause/Break key on the keyboard.

It is in the documentation on http://www.autoitscript.com/autoit3/docs/functions/Send.htm

{BREAK} for Ctrl+Break processing

{PAUSE} PAUSE

Share this post


Link to post
Share on other sites
akiwitail

Do other keys work on the window?

Yea, other keys like ins/del/pgup/home etc works... just pause

Most of the keys are assigned to something, for some reason pause/break is the only one that doesnt run in the script :/

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  

×