use the short name of the object.

name              button "Button"
short name             "Button"
long name    button "Button" of card id 1002 of stack "Untitled 1"

On 27 May 2011 07:17, Todd Geist <t...@geistinteractive.com> wrote:

> Hello,
>
> I am confused by an inconsistency I am seeing. I think it points to
> something I missing about object names and references.
>
> Using the Object Inspector you can set the name of a card, for example,  to
> "MyCardName"
>
> But when you retrieve the name of the object in line of code you get back
> the object type followed by the name in Quotes, like this
>
> *put *the name of the this card into tCard
>
>
> -> card "MyCardName"
>
>
> Why?
>
>
> Thanks
>
> Todd
>
>
>
>
> Todd Geist
> ------------------------------
> geist interactive <http://www.geistinteractive.com>
> 805-419-9382
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to