haXor4life Posted January 24, 2009 Share Posted January 24, 2009 Can AutoIt see 'Enter' in text? If yes what should I write into code? I want when script see Enter to perform some action. Link to comment Share on other sites More sharing options...
NerdFencer Posted January 24, 2009 Share Posted January 24, 2009 @CRLF _________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell Link to comment Share on other sites More sharing options...
Chrisaster Posted January 24, 2009 Share Posted January 24, 2009 Or {ENTER} if your sending keys. Link to comment Share on other sites More sharing options...
JRowe Posted January 24, 2009 Share Posted January 24, 2009 @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 [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
haXor4life Posted January 24, 2009 Author Share Posted January 24, 2009 @CRLFThank you very much, worked great. Link to comment Share on other sites More sharing options...
haXor4life Posted January 24, 2009 Author Share Posted January 24, 2009 Or {ENTER} if your sending keys.Yeah I meant script read text and when see Enter do something. Link to comment Share on other sites More sharing options...
haXor4life Posted January 24, 2009 Author Share Posted January 24, 2009 @CRLF is the linefeed macro, which signifies a new line in text.This macro see new line or invisible "enter" sign? Link to comment Share on other sites More sharing options...
JRowe Posted January 24, 2009 Share Posted January 24, 2009 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. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
BrettF Posted January 24, 2009 Share Posted January 24, 2009 Maybe tell us more of where this will be used and the exact need for it... If that makes sense... Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now