Golbez Posted December 2, 2006 Posted December 2, 2006 (edited) is there a command that will find text on the screen and give its cords? if there isnt can someone point me in the direction me trying to make a way to do it cause i have no clue how to do it... Edit 1: after more reserch i have found this: WinGetText but it does not give the cords..... Edit 2: found this also but dont no if it will help... the text i want is from a webpage.. but idk yet #include <IE.au3> $sURL = "www.YourWebpage.com" $sSearch = "Your Search String" $oIE = _IECreate ($sURL) If StringInStr(_IEBodyReadText($oIE), $sSearch) Then MsgBox(0 ,"Success","The text was found.") Else MsgBox(0 ,"Error","The text was NOT found.") EndIf Edited December 2, 2006 by Golbez
Golbez Posted December 3, 2006 Author Posted December 3, 2006 guess no one cares about Golbez anymore and he doesnt get any help
Bert Posted December 3, 2006 Posted December 3, 2006 look in the help file for things about strings. There are many commands, so I won't go in it here, but I think you will find your answer there. StringInStr is a good place to start The Vollatran project My blog: http://www.vollysinterestingshit.com/
bigassmuffin Posted December 3, 2006 Posted December 3, 2006 or you can make a $word = inputbox("word", "Please input a word to search for") Send("{ctrldown}") Send("f") Send("{Ctrlup}") Send($word) (I htink thats the command for ctrl+f, if somehting else place there)
Golbez Posted December 3, 2006 Author Posted December 3, 2006 or you can make a $word = inputbox("word", "Please input a word to search for")Send("{ctrldown}")Send("f")Send("{Ctrlup}")Send($word)(I htink thats the command for ctrl+f, if somehting else place there)i could do this but it wouldnt work for what i need... this wouldnt find a word that i was looking for.. it would just say the word i put in..
bigassmuffin Posted December 3, 2006 Posted December 3, 2006 i could do this but it wouldnt work for what i need... this wouldnt find a word that i was looking for.. it would just say the word i put in..no, not at all, go to any webpage and hit control and f at the same time, a window pops up, you enter a word in it and it searches for that word on that page!...or maybe im misunderstanding you
Golbez Posted December 3, 2006 Author Posted December 3, 2006 no, not at all, go to any webpage and hit control and f at the same time, a window pops up, you enter a word in it and it searches for that word on that page!...or maybe im misunderstanding youwell yeah that would work... but you dont need an inputbox lol...you would just have to send ctrl f then send what i would be looking for. but..i cant have a box opening this would be dumb none the less it would impractable for a bot
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