Does anyone know how to refer to object generically in MC?  For 
example, I'd like to be able to write scripts that look at the 
handlers/scripts for all objects on a card, e.g.

   repeat for all objects x in this card
     switch objectType of x
       case "field"
         break
       case "button"
   etc.

This also raises another area of my ignorance, how do you pass full 
object references rather than simple names, e.g.

   formatMyField field "Address"

I find myself often resorting to "short name of" and specific 
handlers or script fragments dedicated to specific object types, when 
a generic approach would be cleaner and easier!

Cheers

Peter
-- 
--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

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