ID:273879
 
I'm trying to get the name of the current window that a player is using, but I don't know how to use the winget in this case....
winget(player, null, "focus")


That will return the focus window. You can look at the Skin Reference and find the heading Special winget() calls.