Writing a script to automatically create an appointment in outlook via javascript. It works in IE but chrome doesn’t use activeXObjects. Whats the code to generate the equivalent object for other browsers (IE7, Firefox, Chrome, Opera, Safari)
out = new ActiveXObject("Outlook.Application"); //code for IE
out = ???? //Code for other browsers
Also, is there some outlook api for javascript?
Thanks, in advance.
Chrome doesn’t expose any client application behaviors such as ActiveX does within IE. See related SO post. Outlook automation in JavaScript is only supported in IE since Microsoft has provided the necessary sandboxing for security and operating system hooks.