Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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 :/

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
  • Recently Browsing   0 members

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