Outlook Command Line Options

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I need to open, via command line, my outlook 2003 (or XP) directly on a
contact editing form. I already found that the option "/c ipm.contact" opens
a new brand contact, but I need to open an already existing contact (if it's
included in the contacts folder).
I know that it's possible, because I've seen a simple application that did it.
Can someone help me?
(I wrote this question in che 'outlook contacts' newsgroup, but no one could
help me).

Thank You
Lorenzo
 
Try running this command, where My Contact is the Full Name of the contact:

outlook:contacts/~My Contact
 
It doesn't work! It seems that Outlook searches for a folder, and not for a
single element.
Maybe I used a wrong sintax? The full name of the contact is the value of
the field "Name"?

I tried with:
outlook:Contacts\"ContactName"
but it seems the contact name has been completely ignored.

So, I tried with:
outlook:Contacts\ContactName
In this case, I get an error message like "folder or element not found".

Have you got any idea?
Thank you
Lorenzo
 
It worked fine here. Did you include the required tilde as in my example:

outlook:contacts/~ContactName

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
You're right, it works fine!

I forgot to use the tilde...

By the way, is there a way to select the contact to open using a field other
than the name, for example by office phone number?

Thank you very much!
Lorenzo
 
Not with a simple command line, only with a script.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Do you mean a VBA script? Could you please suggest me (if you know it) an
internet site or online resource where I can learn how to do?
(I already created VBA scripts for Word, Excel and Acces, but not for
Outlook).

Thanks
Lorenzo
 
Back
Top