Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Accessible objects?!?!?!
#2
When you drag the picture and drop it on the desired object (button, text, etc), "Find accessible object" dialog fields are populated. Click Test. If you see black blinking rectangle tightly surrounding the object, and then appears Success message, the object can be successfully found. If you see error message, or rectangle surrounds larger area, object cannot be found. In case of error message, you can try to change values in some fields and test again.

When object is found, uncheck 'Error if not found' and click OK. This inserts something like

Acc a=acc(..........)

Then use if and else.

Acc a=acc(..........)
if(a.a) ;;found
,execute
,this
,code
else ;;not found
,execute
,other
,code

Note: acc function searches only objects in a single window, not in all windows.
Note2: acc and similar functions often don't work in games.
Note3: acc function in some windows works slowly.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)