Page 1 of 1

Name of card

Posted: Wed Apr 27, 2016 7:59 am
by shalu
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

Re: Name of card

Posted: Wed Apr 27, 2016 8:45 am
by atout66
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:

Code: Select all

set the short name of this card to "theNameYouWant"
Cheers, Jean-Paul.

Re: Name of card

Posted: Wed Apr 27, 2016 3:34 pm
by dunbarx
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:

Code: Select all

set the name of this card to "New" && the number of cards
you would be out of sort order. But of course you can always sort cards later. Something like

Code: Select all

on mouseUp
   sort cards   numeric by char -2 of the name of this card 
end mouseUp
Now why the "-2"?

Craig Newman