You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the comparison currentElment1 == currentElement2 would return true, while after
table[currentElement1] = true
the entry table[currentElement2] is still nil. After doing some reading I see why, but I wonder whether there is some way to still use such axuielementObject objects as table keys? Something like currentElement1.id() or currentElement1.hash() that would uniquely identify a given ui element and could be used as table keys.
The text was updated successfully, but these errors were encountered:
I'm relatively new to Lua and recently realized that for userdata objects like
axuielementObject
given something likethe comparison
currentElment1 == currentElement2
would returntrue
, while afterthe entry
table[currentElement2]
is stillnil
. After doing some reading I see why, but I wonder whether there is some way to still use suchaxuielementObject
objects as table keys? Something likecurrentElement1.id()
orcurrentElement1.hash()
that would uniquely identify a given ui element and could be used as table keys.The text was updated successfully, but these errors were encountered: