Jump to content
Sign in to follow this  
Helix

Help with this script... I'm thorougly confused

Recommended Posts

Helix

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 by Helix

Share this post


Link to post
Share on other sites
dufran3

yes, however it would be more helpful if I knew what page you were navigating too..:-) or what it looked like...

Share this post


Link to post
Share on other sites
orange

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.

Share this post


Link to post
Share on other sites
Helix

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 :\

Share this post


Link to post
Share on other sites
qazwsx

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?

Share this post


Link to post
Share on other sites
Helix

well currently there is no picture for the ants .. there must be a glitch or something ( which works out to my advantage I think )

Share this post


Link to post
Share on other sites
qazwsx

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?

Share this post


Link to post
Share on other sites
Helix

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?

yes

except there's different level'd ants there's anywhere from lvl 13 - 25 right now

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×