Helix Posted July 31, 2007 Share Posted July 31, 2007 (edited) okay, here's what I want the script to do: Open up Mozilla Firefox (easy) .. and go to my homepage... then I want it to do an if-then. but for text displayed on the screen.. for instance: if my homepage displays "X-text" I want it to move the mouse to a spot.. however.. if it says "Y-text" on my homepage I want it to move the mouse to a different location... can anyone help me? Edited July 31, 2007 by Helix Link to comment Share on other sites More sharing options...
dufran3 Posted July 31, 2007 Share Posted July 31, 2007 yes, however it would be more helpful if I knew what page you were navigating too..:-) or what it looked like... Link to comment Share on other sites More sharing options...
orange Posted July 31, 2007 Share Posted July 31, 2007 okay, here's what I want the script to do:Open up Mozilla Firefox (easy) .. and go to my homepage... then I want it to do an if-then. but for text displayed on the screen..for instance: if my homepage displays "X-text" I want it to move the mouse to a spot.. however.. if it says "Y-text" on my homepage I want it to move the mouse to a different location...can anyone help me?It is rather difficult with AutoIt to control FireFox since you can't have object control (yet). What would benefit you is to lookup _IE.au3 in the helpfile. You will have to use internet explorer if you want this to be easy - using firefox is very complex. Link to comment Share on other sites More sharing options...
Helix Posted July 31, 2007 Author Share Posted July 31, 2007 http://www.eggmon.com/I want to automate the process of attacking monsters but make it so my pet will only attack ants.. because they're the weakest and I dont want him dying while I'm off somewhere else.. the problem is it's a java application :\ Link to comment Share on other sites More sharing options...
qazwsx Posted July 31, 2007 Share Posted July 31, 2007 I have never played that game before but are ants different colors. Is there a way to distinguish them other than the text? And does the text always appear on the same place? Link to comment Share on other sites More sharing options...
Helix Posted August 1, 2007 Author Share Posted August 1, 2007 well currently there is no picture for the ants .. there must be a glitch or something ( which works out to my advantage I think ) Link to comment Share on other sites More sharing options...
qazwsx Posted August 1, 2007 Share Posted August 1, 2007 well if there is another feature other than text that distinguishes what you are fighting then that could be used to identify that ant. Is the text always in the same place? Link to comment Share on other sites More sharing options...
Helix Posted August 1, 2007 Author Share Posted August 1, 2007 well if there is another feature other than text that distinguishes what you are fighting then that could be used to identify that ant. Is the text always in the same place?yesexcept there's different level'd ants there's anywhere from lvl 13 - 25 right now 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