Object paths?
Ken Ray
kray at sonsothunder.com
Tue Jul 20 00:56:48 EDT 2004
Troy, is there some specific reason you need to get the long name (or long
identifier) of an object? The only reason I ask is that 99% of the time I
don't need long identifiers; either a short (fld "Test") or abbreviated (fld
"Test" of group "MyGroup") identifier has usually worked for me.
Just curious,
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Troy Rollins
> Sent: Sunday, July 18, 2004 8:22 PM
> To: How to use Revolution
> Subject: Object paths?
>
>
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list