Right, lets fix this.
It looks like the main problem is a confusion about the terms overview
and target
in EVE Online.
The script you posted uses the Target
property on the memory measurement, but later you write you are interested in reading from the overview. These are different things in EVE Online. I will try to illustrate this better.
To clarify what Target
means in EVE Online, it would be helpful to have an example screenshot. I remember Terpla has a nice guide which explains some of these terms:
In his guide, I also find this screenshot:
https://i.imgur.com/vavwwjj.jpg
For Target
specifically, it seems not ideal, so I go looking for a better one.
Found this one here, which contains three targets:
Do you hear the beep when such a target is on the screen for more than four seconds? (The delay is caused by the Delay
in the script code)
On the other hand, if you want to read from the EVE Online overview window, use the WindowOverview
property like this:
for(;;)
{
Sanderling?.InvalidateMeasurement();
var upmostOverviewEntry = Sanderling.MemoryMeasurementParsed?.Value?.WindowOverview?.FirstOrDefault()
?.ListView?.Entry?.OrderByCenterVerticalDown()?.FirstOrDefault();
Host.Log("Name of upmost overview entry: " + upmostOverviewEntry?.Name);
Host.Delay(1111);
}