Hi Peter
----- Original Message -----
From: "Peter Reid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 1:23 AM
Subject: Generic Object References
> 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"
send "formatMyField field Address" to xyz- I think would work or maybe
send "formatMyField field " & quote & "Address" & quote to xyz - I haven't
tested I just blindly assume ;-)
> 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
> --
Monte
> --------------------------------------------------------
> 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.
>
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.