GetItemName on shift+click
Hey all,
So I am trying to learn the ESO API through a simple Addon idea I have. Currently, when a button is pressed it loops through my bags and checks my item names for specific strings and invokes DestroyItem when it matches several strings (namely items I pick up frequently but do not care for like provisioning). I wish to expand the addon by allowing the user to shift click and item and it adds it to the list of items.
I am curious is this functionality feasible? Namely, can I invoke a function on a shift+click which reads the name of the item I am hovering over?
Thanks.
|