Jump to content

Recommended Posts

Posted (edited)

Hi guys,

so ive had some troubles automating an inhouse app in mozilla due to naming conversion etc etc and i though the easiest way to get around this is to simply ctrl f (find word on page) then left click on that high lighted word.

Is there a simple way to achieve this?

thanks in advance!

Edited by 13lack13lade
Posted (edited)

didnt know such a thing existed! no idea how to use it but ill try and figure it out, thanks for that blackdawn!

i got the colour of the word when its highlighted - 3725432 however how do i left click on the highlighted word? or how do i use the colour to get the mouse coords in order to left click at that location?

Edited by 13lack13lade
Posted

PixelSearch returns a two element array if it was successful. Which contains the coordinates that you need to pass to a MouseClick. The help file related to PixelSearch will give you a better example. Also, Glad I could be of assistance

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...