Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving Text Box, GRRR
#1
http://i.imgur.com/h6d6g4H.png <---

When making macros to fill out forums at work, sometimes the BOX moves positions (which makes writing a CLICK HERE command impossible)

Is there a way I can have a "click here" command that does not rely on coordinates?
#2
Use accessible object functions.
#3
Code:
Copy      Help
int w=win("Bolthouse Farms SBM - Mozilla Firefox" "MozillaWindowClass")
Acc a.Find(w "TEXT" "" "a:name=H1464" 0x3014)
a.Mouse

I think I'm on the right track, its a little laggy though
#4
To make faster, try various options in dialog "Find accessible object". For example, "as Firefox node" often makes ~2 times faster. Also try "reverse".
#5
[Image: q8r7JtT.png]

am I doing this right?

time: 1125ms is a bit long haha
#6
oh! I found it.

[Image: a3z9v25.png]

now only 100ms!!!


Forum Jump:


Users browsing this thread: 1 Guest(s)