Jump to content

Recommended Posts

Posted

my script contains the enter key. Once enter is activated the rest of the script doesn't work. What do I need to get it to work? what does the sleep command do?

Posted

the sleep command makes you script pause

do I need a pause after enter is activated? how do I do a 5 second pause?

Posted

Sleep(5000);five seconds

It would be easier to help you if you could post the code for what you are trying to do.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

do I need a pause after enter is activated? how do I do a 5 second pause?

It's a mainframe script to save manual key strokes. The part after {enter} doesn't activate. The {sleep(3000)} didn't work.

SEND "1H"

SEND "A3150"

SEND "04120"

SEND "{ENTER}"

SEND "{SLEEP(3000)}"

SEND "DESCRIPTION GOES HERE"

Posted

I do not know what you are using but it is not AutoIt version 3. If version 3 is what you are meant to be using you need to study the help files. If you are using version 2 (I have never used it so I cant recognise it) you are in the wrong forum.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

I do not know what you are using but it is not AutoIt version 3. If version 3 is what you are meant to be using you need to study the help files. If you are using version 2 (I have never used it so I cant recognise it) you are in the wrong forum.

I'm not sure what I'm using. It's a .dcp file and when copiled it's a .dct file. thanks for your help.

Posted
Welcome to AutoIt 1-2-3 - A great place to start to learn.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

It's a mainframe script to save manual key strokes. The part after {enter} doesn't activate. The {sleep(3000)} didn't work.

SEND "1H"

SEND "A3150"

SEND "04120"

SEND "{ENTER}"

SEND "{SLEEP(3000)}"

SEND "DESCRIPTION GOES HERE"

If you mean like a keylogger, take it to another forum

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