Closed ghost closed 7 years ago
As the title says, the Child objects in a List Entry does not populate until I have waited ~5 seconds after the LeftTreeListEntry has been clicked on (selected), in the Inventory Window.
This delay is because Sanderling does not know that you clicked. It then continues to forward you the existing measurement as default until the timeout whose duration you measured happens.
To tell Sanderling that the existing measurement is not valid anymore, you can use the following code:
Sanderling.InvalidateMeasurement();
Add this to the end of your custom click method.
Closing this since it appears the problem was not observed anymore after applying the fix described above.
I'm working on a simple script to do all the click work of reprocessing items and comparing values. At the moment I have things working but with work arounds on certain issues.
As the title says, the Child objects in a List Entry does not populate until I have waited ~5 seconds after the LeftTreeListEntry has been clicked on (selected), in the Inventory Window.
Also the WindowInventory.SelectedRightInventory.ListView.Entry.Length is sometimes 0 or 3 when there is 9 to 10 items visible in the list, unless I delay long enough for the script engine to catch up.
I have included my script: