.type property for $did() - 25/06/14 03:06 AM
I tried searching for this, just to make sure it hasn't been requested yet, but came up with no results. So, here it goes.
I'd like to see a .type property for $did(), such that it would return the item type of the object ID that triggered an event.
Example
Obviously, type would return:
Thanks, in advance, for any and all consideration or rejection!
I'd like to see a .type property for $did(), such that it would return the item type of the object ID that triggered an event.
Example
Code:
ON *:DIALOG:dialogName:mouse:*: { echo -s The current hover object is of type: $did($did).type }
Obviously, type would return:
- dialog
- text
- edit
- button
- check
- radio
- box
- scroll
- list
- combo
- icon
- link
- tab
- menu
- menuitem
Thanks, in advance, for any and all consideration or rejection!