Glue script problem

Douglas Wagner hdmw at mac.com
Mon Apr 1 03:17:42 PST 2002


Hello:

Can someone tell me why this glue script doesn't work.

on countMailboxes (accountObj=nil) {
	if (accountObj == nil) {
		accountObj = account[1]}; -->error 'account' undefined
	with objectModel, Mail, eventInfo {
		return (core.count (id, accountObj, mailbox))}};
countMailBoxes()

Note:
system.verbs.apps.Mail.eventInfo.account is 'mact'
system.verbs.apps.Mail.eventInfo.mailbox' is 'mbxp'
system.verbs.apps.Mail.appInfo.id is 'emal'
system.verbs.apps.Mail.id is 'emal'

I've also get error 'eventInfo' not defined if the account[1] line is 
commented out.


DW





More information about the Frontier-Users mailing list