The mistake you mave made is to search an
image rather than search a
window.
Go to your Discord console in browser.
Start with field set to “0”.
To invoke Windows Clipping Tool hit three keys ..
[Windows]+[Shift]+[S]
After some seconds the screen dims (showing that Clipping Tool is running)
and then use cursor cross hairs to select a rectagular clip containing the [0] field (your "red box")
A few seconds later a message notification pops up in Windows bottom taskbar.
Launch the app to save the clip into a location to be accessed by your Actiona script.
Repeat this process with the field set to [1].
You now have two clips.
Now you need to create an Actiona script which targets the Discord console and you can test if field [0] or field [1] is found. Two actions will be needed (one for each clip).
We choose the Find Image object (find image on the screen, on a window, or on another image).
You need to find on a window and not an image.
Read this again:
https://wiki.actiona.tools/doku.php?id= ... nfindimage
You require to search for an image (your [0] or [1] field) within a window, not within an image.
thus your settings are:
Standard tab:
Input Parameters:
Source: Window
Window name: select the window of Discord console
Image to search in: (disabled)
Image to find: the clip you created.
=============================
Tip:
You can
embed images (clips) in an Actiona script.
Look at Toolbar > Script > Resources and include your clip image(s).
This avoids defining a filepath to the image. Simply name the image to find.
0.jpg
=============================
You can run tests in sequence (pause between each Find Image test):
Find image [0]
Find image [1]
and take actions accordingly.
=============================
Another tip:
Clear the clutter on your desktop.
You can switch between virtual workspaces.
Separate windows can be in separate virtual workspaces.
Then use keys to toggle between them.
Not strictly necessary but can streamline your workflow.
Use Deepl.com to translate English <--> French.