CardName

Yves COPPE yvescoppe at skynet.be
Thu Jan 1 14:55:54 EST 2004


Le 1 janv. 04, à 12:04, Klaus Major a écrit :

> Bonne Annee Yves and all :-)
>
>> Hi everybody
>>
>> HAPPY NEW YEAR 2004
>>
>> A question about cardname
>>
>>
>> on Mac OS X
>> I have a
>>  - stack A (10 cds)
>>  - stack B = drawer of stack A
>>
>>
>> when I click a button in the open drawer (Stack B), I'd like to know 
>> which is the cardName of the current card in stack A ???
>>
>> Can you help me ?
>>
>> I've gone around with that problem searching with line 1 of the 
>> recentNames of stack A
>> but in this case, the lockRecnet my not exist when opening a new card 
>> in stack A.
>>
>> Is there a more direct way ???
>
> Try this in the script of the button in stack B:
>
> on mouseup
>   set the defaultstack to "A"
>   put the short name of this cd into jean_jaques ## or yvette or... ;-)
>   ## do what you want with jean_jaques :-)
>   ...
> end mouseup
>
>>



Thank you Klaus...
(I prefer Yvette to jean_jacques...)

Greetings.
Yves COPPE

yvescoppe at skynet.be


More information about the use-livecode mailing list