Jump to content
Sign in to follow this  
DBLAY

sleep command?

Recommended Posts

DBLAY

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?

Share this post


Link to post
Share on other sites
NELyon

the sleep command makes you script pause

Share this post


Link to post
Share on other sites
DBLAY

the sleep command makes you script pause

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

Share this post


Link to post
Share on other sites
BigDod

Sleep(5000);five seconds

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



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
DBLAY

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"

Share this post


Link to post
Share on other sites
BigDod

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.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
DBLAY

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.

Share this post


Link to post
Share on other sites
Briegel

I'm not sure what I'm using...

Welcome,

if you are already here, try nevertheless AutoIT. :whistle:

Share this post


Link to post
Share on other sites
BigDod
Welcome to AutoIt 1-2-3 - A great place to start to learn.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
Paulie

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

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  

×