Guest Drache Posted June 16, 2004 Share Posted June 16, 2004 In Word vb script you can search for a number using ^#. What is the AutoIt equivalent I cannot seem to find the section in the help Link to comment Share on other sites More sharing options...
Nutster Posted June 16, 2004 Share Posted June 16, 2004 That will depend entirely on your editor. In SciTe, use Ctrl-F David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
Guest Drache Posted June 17, 2004 Share Posted June 17, 2004 In Word vb script you can search for a number using ^#. What is the AutoIt equivalent I cannot seem to find the section in the help Not to initiate a search but to say ^# is any7 number on it's own ^#^# would be any two digits etc Link to comment Share on other sites More sharing options...
pekster Posted June 17, 2004 Share Posted June 17, 2004 Not to initiate a search but to say ^# is any7 number on it's own ^#^# would be any two digits etcYou mean wildcards? Once again, that would likely depend on the editor. A lot of them won't support that, and ones that do might use different syntax. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Nutster Posted June 17, 2004 Share Posted June 17, 2004 Again, this varies by the editor you use. In what context are you doing this searching? If you want to see if a string contains a specific number, take a look at the StringInstr function. If you want to know if a string is made of only digits, use StringIsDigit function. I have yet to finish (really, well, start) a more advanced pattern matching function called RegExp, which could do this comparison easily. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
pekster Posted June 17, 2004 Share Posted June 17, 2004 ... a more advanced pattern matching function called RegExp, which could do this comparison easily.Similar to the *nix RegEx syntax, or just an odd naming coincidence? [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Nutster Posted June 17, 2004 Share Posted June 17, 2004 Quite similar, but based more on [f]lex syntax than [e]grep syntax. Take a look at this discussion for more details. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... 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