Hi,
How to change the name of  the card. when I press control+n. If the first card name is "NEW" then the second card should be "New1"  and third card name is "NEW2" etc is it possible 
Thanks
Shalu
			
			
									
									Name of card
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Name of card
I, not sure if I understand all the meaning of your question, but by script you can change the name of the card that way:
Cheers, Jean-Paul.
			
			
									
									Code: Select all
set the short name of this card to "theNameYouWant"Discovering LiveCode Community 6.5.2.
						Re: Name of card
Hi.
Much depends upon where you are in your stack when you create a new card. The new one is placed after the one you are already on. So if you trapped the "newCard" message and did something like this:
you would be out of sort order. But of course you can always sort cards later. Something like
Now why the "-2"?
Craig Newman
			
			
									
									
						Much depends upon where you are in your stack when you create a new card. The new one is placed after the one you are already on. So if you trapped the "newCard" message and did something like this:
Code: Select all
set the name of this card to "New" && the number of cardsCode: Select all
on mouseUp
   sort cards   numeric by char -2 of the name of this card 
end mouseUpCraig Newman
