Chunjee / graphicsearch.ahk

A fast, super powerful, and flexible screen searching library for AutoHotkey
https://chunjee.github.io/graphicsearch.ahk/
MIT License
45 stars 5 forks source link

Query about joinqueries #9

Open shanto opened 1 year ago

shanto commented 1 year ago

Can we have a bit more detailed information about the usage of joinqueries? Normally we already join multiple queries with pipes (|) at the beginning of each query generated by the GUI. It works like OR operation between the given queries joined by pipes. How does joinqueries influence this? Does it support joints of multiple groups of queries and/or logical operations like (q1 | q2 | q3 ) & (q4 | q5). Detailing this will be very helpful and much appreciated.

Also, are there any usage tips to minimize the anti-aliasing differences between captures of the same object from different areas of the screen. Normally it takes quite a few variations of the same capture to reliably detect a moving object.

Chunjee commented 1 year ago

For finding two search queries with {x} proximity.

Elsewhere online:

A combination lookup can be done by setting the jointext argument to true. Then offsetx and offsety will be the maximum offset which the queries are allowed to be relative to each other. If successful, then the returned results id will be the combination of ids used for the search

This should be added to the documentation.