Card Names

Scott Rossi scott at tactilemedia.com
Thu Sep 27 18:34:17 EDT 2012


I think the name is shown for reference, in lieu of an assigned name.
You need to refer to the card like you do an object:

 put the ID of card ID 1002 of stack "xyz"

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




On 9/27/12 3:25 PM, "Peter Haworth" <pete at lcsql.com> wrote:

>It would appear that a card shown in the App Browser with a name like
>"card
>id 1002" (in other words, the default name when the card was created)
>doesn't really have that name, or maybe any name at all.
>
>I get a runtime error when I try to refer to a card like that by name,
>e.g.
>card "card id 1002" of stack "xyz" and in the message box:
>
>put the ID of card "card ID 1002" of stack "xyz"
>
>... returns an error "can't find card", even though I can see it in the
>App
>Browser
>
>If I rename the card, everything works OK.
>
>This seems like pretty strange behavior so wondering if anyone else sees
>it.
>
>LC 5.5.0, OSX 10.7.4
>
>Pete
>lcSQL Software <http://www.lcsql.com>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list