1) How would I search for text on the screen?
(Like finding the word "text" in this thread)
2) How would I search for a program and then open it if I dont know
the exact file location?
1) How would I search for text on the screen?
(Like finding the word "text" in this thread)
2) How would I search for a program and then open it if I dont know
the exact file location?
Last edited by XunTric; 11-01-2005 at 01:46 PM.
Someone?
Someone has to know it? :P
1.)
If the text is in a string, there is:
http://www.cppreference.com/cppstring/find.html
http://www.cppreference.com/cppstrin..._first_of.html
http://www.cppreference.com/cppstring/find_last_of.html
http://www.cppreference.com/cppstring/rfind.html
If it is just something you cout'ed it is a lot more complicated.
2.) OS specific.
It can be fairly easily done with the system() command though.
Well, how I do it with a system command?
Yes. Yes it is.
http://cboard.cprogramming.com/annou...ouncementid=51