I'm working on a javascript front end site to run in the browser [Chrome], and I'd like to launch Word on the clients PC with their selected macros that have already been setup in Word for them on their pc.
My questions is does Office [and Word] create an Application URL Protocol [MSDN how to article] for itself when installing it?
For example, iTunes does this, with the url 'itmss://itunes.apple.com/us/app/123213213?mt=8' which, if the user has installed iTunes, will prompt them to open it.
Is there a Word equivalent protocol to itmss? Can I pass the macro names to it as parameters?
If there not an equivalent protocol, does anyone know how I might achieve something similar?
You could try to write your link as follows:
ms-word:ofe|u|http://example.com/myTestDocument.docx
Note that this will most likely require you to have a WEBDAV server running, that is capable of interpreting such requests.
The details about what is the meaning of ofe
or u
can be found in here
This protocol is available starting Microsoft Office 2010 Service Pack 2 (yes, there are service packs for office also).