Outlook Command Line Options

L

Lorenzo

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
 
S

Sue Mosher [MVP-Outlook]

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

outlook:contacts/~My Contact
 
L

Lorenzo

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
 
S

Sue Mosher [MVP-Outlook]

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
 
L

Lorenzo

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
 
S

Sue Mosher [MVP-Outlook]

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
 
L

Lorenzo

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
 
L

Lorenzo

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top