Apologies if I am not explaining this right. Currently in the scripting language there are ways to reference dynamic objects (this, target, etc.) instead of creating a variable pointer (LVAR1, LVAR2, etc.)
I would love to add to this by creating a new dynamic object for the 'requesting object'. Let me explain..
Often times I use a piece of code on a button or link to create a show a tool tip on that button or link. More specifically the code:
- Finds out the referring object X and Y coordinates
- Moves the tool tip (dynamic layer) over to these coordinates while factoring in it's own dimensions for precise placement
- Shows tool tip
I make this code deliberately generic enough that I can copy and paste it on any button or link and it will move the same tool tip over to it. Think about how powerful this is to show help or tool tips for any link on a page.
The only problem is if I need to change anything I have to change it across all the buttons I place this piece of code on. It would be nice to have it in a function (hotspot with the code) that I can fire on click from each referring object. Would be nice in the function to identify the coordinates of the REFERRING OBJECT . I don't think I can do this right now.
A supplemental or complementary feature would be to allow the ability to pass arguments to this function. So when I do a fire request comment, I can pass the X and Y coordinates. That would accomplish the same thing.
Anyhow let me know if you need further details or have questions. I think this would be very powerful feature for Advanced Axure Users!