Hi Nelson,

> How do I get the (marked) number of a current marked cd?
> 
> the number of this marked cd  --doesn't work, it just give the cd number.
> 
> Nelson Zink

looks like you cannot get that info directly .

Take this li'l function to help you out.
Performance should be OK.
I only tested it with 10 cds.
Was quite fast ;-)

on mouseUp
  if the mark of this cd then
    get lineoffset(the num of this cd, mk_cd_num())
   ###your code here
    put "this is marked cd number" && it
  else
    put "not marked"
  end if
end mouseUp

function mk_cd_num
   put the num of cds into anz
   put empty into wie
   repeat with i = 1 to anz
    if the mark of cd i then put i & CR after wie
   end repeat
   delete last char of wie
   return wie
end mk_cd_num


Hope this helps


Regards

Klaus Major


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to