Object paths?

Troy Rollins troy at rpsystems.net
Sun Jul 18 21:22:23 EDT 2004


I wondering if there is an easy way (which I haven't yet found) to get 
an object's path onto the clipboard for pasting into a script. Ideally, 
I would have though there would be something in the Rev context menus 
along the lines of "copy the short name, and copy the long name" for 
the selected object. I somewhat surprised there isn't, or doesn't seem 
to be, considering how many times these things have to be typed, and 
how much typing that can sometimes take. I haven't even found a way to 
see the entire path to an object, other than in the tooltips for the 
application browser, which is somewhat less than what I'm looking for.

Is there already some means to do this, and I have overlooked it?

e.g. select and object, do something which copies its path to the 
clipboard, paste into the script window, and get a result like -

button "myButton" of group "MainControls" of group "ControlPanel" of 
card "Main Interface" of stack "My cool program"

Seems to me, that since it can sometimes take that much typing (or 
more) to path to an object, there must be some way, and I just haven't 
uncovered it.

Thanks for any info.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net



More information about the use-livecode mailing list