I would like to have my button display the script name it calls as a tool tip.
This is for my own use while developing as I am loosing track of where I am
Agree that that would be better if it were possible. There are a couple of functions we'd need, though: One is "self" in a tooltip/hidewhen/parameter on a button to refer to the object name (which you can't do right now) and another is a parameter for GetLayoutObjectAttribute to get the button action. Neither is available as of now, but that's what feature requests are for. :-)
You need hard code the name to tooltip.
Hi, I was trying to avoid this and have a calc or script or something call the name auto
understand and thankyou very much Chris
This is the way I solved the problem:
Create a global text field "current_scripName"
Create a tool tip which displays the contents of this field
Add this step to the beginning of the script associated with the button:
Now Command-click on the button and stay hovering over it. You may have to move it just a little bit once but stay hovering over it.
The script will not perform but within a few seconds the script's name will pop up in the hover box.
Not a very elegant solution but it works. Unfortunately one needs to add these steps individually to each script. Not too bad if you create a dummy script just to contain these steps and copy-paste them into any other.
If you absolutely need this:
Why not make that it's own script, and much like turning triggers on or off, turn it on if logged in as developer, and bypass if not logged in as developer.
If [Get(ActiveModifierKeys)=16 & Get(AccountPrivilegeSetName)="[Full Access]"]
Retrieving data ...