Thread Tools Display Modes
02-05-15, 11:57 AM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Shift-click for recipe?

I've just been made aware that when the Blizzard tradeskill frame is open, shift-click on an item in your inventory craftable by that skill brings up the recipe for that item. Close the Blizzard tradeskill frame, and shift-click on the same item brings up the split stack frame.

Where do I find the code that implements this behavior? I'm not sure where to start looking.
  Reply With Quote
02-05-15, 12:39 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I'd start with the OnClick script for bag items:
http://www.townlong-yak.com/framexml...erFrame.xml#65
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
02-05-15, 12:46 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
It's a series of function calls, but ultimately, it's handled by ChatEdit_InsertLink().


Here's what the call stack should look like:(Note: All except the last reference the line number for the next call.
The last is the function definition itself.)
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 02-05-15 at 12:54 PM.
  Reply With Quote
02-06-15, 10:38 AM   #4
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Originally Posted by SDPhantom View Post
It's a series of function calls, but ultimately, it's handled by ChatEdit_InsertLink().
Thanks for the help. I've added a hook to Skillet (that currently does nothing) and I'll see if I can implement something useful.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Shift-click for recipe?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off