Sign in to follow this  
Followers 0
haXor4life

Can AutoIt see 'Enter' in text?

9 posts in this topic

Can AutoIt see 'Enter' in text? If yes what should I write into code? I want when script see Enter to perform some action.

Share this post


Link to post
Share on other sites



Or {ENTER} if your sending keys.

Share this post


Link to post
Share on other sites

@CRLF is the linefeed macro, which signifies a new line in text.

sending the {Enter} key will press Enter/Return.

Look for SendKey in your help file, it will have a list of key codes :)

Share this post


Link to post
Share on other sites

@CRLF

Thank you very much, worked great.

Share this post


Link to post
Share on other sites

Or {ENTER} if your sending keys.

Yeah I meant script read text and when see Enter do something.

Share this post


Link to post
Share on other sites

@CRLF is the linefeed macro, which signifies a new line in text.

This macro see new line or invisible "enter" sign?

Share this post


Link to post
Share on other sites

There's no invisible enter sign, when

there

is

an end of a line, like after "there" and "is," thats called a newline, or a linefeed, or a carriage return (from back in the days of typewriters.)

So if you're looking for that, then @CRLF is what you want. If you want to actually have your script press the enter button, then {ENTER} is what you're looking for.

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  
Followers 0