set the short name of card "X" to "Y" possible?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Jellobus
Posts: 317
Joined: Tue Dec 10, 2013 2:53 pm

set the short name of card "X" to "Y" possible?

Post by Jellobus » Wed Jan 09, 2019 6:21 pm

Hello guys 8)

Is it possible to change name of the card by setting the short name of the card "name" to "somethingElse" possible?

Cheers,

Louis

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: set the short name of card "X" to "Y" possible?

Post by Klaus » Wed Jan 09, 2019 6:27 pm

Hi Louis,

no computer at hand right now?
Why don't you try it by yourself, much quicker than wainting for an answer here!
I promise you machine will not explode! 8)

"the short name" will throw an error but you can set THE NAME:

Code: Select all

...
set the name of cd "aaaaa" to "bbbbb"
...
Best

Klaus

Jellobus
Posts: 317
Joined: Tue Dec 10, 2013 2:53 pm

Re: set the short name of card "X" to "Y" possible?

Post by Jellobus » Wed Jan 09, 2019 6:32 pm

oh my.. I have spent at least half hour by searching dictionary and trying this.. I used only "Short name" instead of "name". Thanks a lot!!

SparkOut
Posts: 2839
Joined: Sun Sep 23, 2007 4:58 pm

Re: set the short name of card "X" to "Y" possible?

Post by SparkOut » Wed Jan 09, 2019 8:33 pm

Klaus wrote:
Wed Jan 09, 2019 6:27 pm
I promise you machine will not explode! 8)
and that's a big promise!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9578
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: set the short name of card "X" to "Y" possible?

Post by dunbarx » Wed Jan 09, 2019 10:06 pm

Hi.

Cards have long, abbreviated and short names too. But you cannot set a "short" name. You can only get one.

Craig Newman

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”