Is there an Application URL Protocol for MS Word?

前端 未结 2 1966
甜味超标
甜味超标 2021-01-01 18:56

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

2条回答
  •  失恋的感觉
    2021-01-01 19:47

    Office 2010 SP2 and above install URI Schemes which you can use from your website. Microsoft has documentation for these available here: https://msdn.microsoft.com/en-us/library/office/dn906146.aspx

    There is a protocol for each of the office products. The MS Word protocol is ms-word:"|""|""

    You probably want the "open for edit" command which looks like this: ms-word:ofe|u|

提交回复
热议问题