in reply to Re: Re: Re: Check your property Names in the Outlook ContactItem Class
in thread Perl control of Outlook import to contacts with win32::OLE
Now there may be a bunch of Smiths and I don't want to trash all of them - How can I do this same thing by index. The whole index deal leaves me a little lost - how do I return and index to script? Thanksmy $NewContact = $Contacts->Items->find("[Last Name] = $name"); print "full name: $NewContact->{FullName}\n"; print "First name: $NewContact->{FirstName}\n"; print "Last name: $NewContact->{LastName}\n"; print "Phone: $NewContact->{BusinessTelephoneNumber}\n"; print "Title: $NewContact->{CompanyName}\n"; $NewContact->Delete();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:(4)What do you want to delete?
by cacharbe (Curate) on May 29, 2002 at 19:58 UTC | |
by Anonymous Monk on May 29, 2002 at 20:32 UTC | |
by cacharbe (Curate) on May 29, 2002 at 22:45 UTC |