01-11-2005, 08:48 PM
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.
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.
