简体   繁体   English

如何在 Word Online 中使用 Script Lab

[英]How To Use Script Lab With Word Online

Script Lab states in the description, that it works also with Office Online. Script Lab在描述中指出,它也适用于 Office Online。 How does that work?这是如何运作的? In Office Online I don't see any possibilities to add the Script Lab app ( https://www.office.com/apps ):在 Office Online 中,我看不到添加脚本实验室应用程序 ( https://www.office.com/apps ) 的任何可能性:

在此处输入图片说明


The above question leads to the two follow-up questions:上述问题引出两个后续问题:

Can the Office JavaScript API be used without an AddIn?可以在没有插件的情况下使用 Office JavaScript API 吗?

If it is possible to use Script Lab (respectively, using the Office JavaScript API) for Office Online , I assume it must be possible to use the JavaScript API on a website to interact with a Word Online document (loaded into an iFrame) without having to install an Office AddIn?如果可以将 Script Lab(分别使用 Office JavaScript API)用于Office Online ,我认为必须可以在网站上使用 JavaScript API 与 Word Online 文档(加载到 iFrame 中)进行交互,而无需安装Office 插件? Would it be possible when hosting Office Online yourself using an Office Online Server (OOS)?使用 Office Online Server (OOS) 自己托管 Office Online 是否可行?

Can an Office AddIn have dynamic code like Script Lab? Office AddIn 可以有像 Script Lab 这样的动态代码吗?

If it is possible for Script Lab to dynamically change its functionality (by editing the JavaScript API code), is it also possible to create an AddIn that dynamically can update its content or functionality automatically (similar to the smooth update mechanism from ElectronJS )?如果 Script Lab 可以动态更改其功能(通过编辑 JavaScript API 代码),是否也可以创建一个可以动态自动更新其内容或功能的 AddIn(类似于ElectronJS的平滑更新机制)?

I did it this way.我是这样做的。 On the Word Online ribbon, navigate Insert |在 Word Online 功能区上,导航插入 | Add-ins |加载项 | Store .存储 Then enter Script Lab in the search.然后在搜索中输入 Script Lab。 Then click Add by Script Lab item.然后单击按脚本实验室项添加。 在此处输入图片说明

UPDATE 9/9/20: It is not possible to use the Office JavaScript library outside of an Office Add-in. 20 年 9 月 9 日更新:无法在 Office 加载项之外使用 Office JavaScript 库。 It needs that context to initialize.它需要该上下文来初始化。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在word中在线添加和显示书签? - How to add and show bookmarks in word online? 如何在Word和Excel的在线版本中测试Office加载项? - How to test Office Add-ins in the online version of Word and excel? 如何通过脚本实验室而不是控制台日志查看excel API结果,excel工作表(单元)中的自定义函数? - How to see excel API results, custom functions in excel sheet(cell) through Script Lab, instead of console log? 在线更新 Word 中的 docvariable 或 docproperty - Update docvariable or docproperty in Word online 在线文字中的动态数据处理 - Dynamic data manipulation in word online 如何使用office script excel online在office 365中发送电子邮件 - How to send email in office 365 using office script excel online 编辑Word Online实施选择 - Edit Word Online implementation choices 如何关闭word/PowerPoint/excel/OneNote中的AutoSave,而我们在线使用SharePoint在浏览器中打开? - How to turn off AutoSave in word/PowerPoint/excel/OneNote, while we open it in browser using SharePoint online? 在Word Online中使用Word加载项JavaScript API(浏览器) - Using Word add-in JavaScript API in Word Online (browser) 是否可以在Word在线功能区中添加按钮? - Is it posible to add button in Word online ribbon?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM