|
This is what i did to add Mailboxes to Outlook 2003, I have used Kdyers code on this one as it all works, however I found that the "Send Keys" were not the right ones for 2003. So I have amended them. This one worked for me (it adds 2 Mailboxes, but you can expand that exponentaily). Thank you Kdyer for your code, hope you don't mind the edit!
E.D.
Break on CLS
$hklms = 'HKEY_LOCAL_MACHINE\Software' $exe=ReadValue($hklms+"\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE","") Shell($exe) ; -- Start OutlooOK Sleep 5 $=SendKeys("~t") $=SendKeys("a") $=SendKeys ("~V") $=SendKeys ("n") $=SendKeys("~c") $=SendKeys("~M") $=SendKeys("+{TAB}{RIGHT}") $=SendKeys("~d") $=SendKeys("enterthemailboxnamehere{ENTER}") $=SendKeys("~d") $=SendKeys("enterthemailboxnamehere{ENTER}") $=SendKeys("~a") $=SendKeys("{ENTER}") $=SendKeys("n") $=SendKeys("{ENTER}")
|