如何将Google文档添加到Windows资源管理器的“新建”菜单

image

We’ve already shown you how to create shortcuts to create new Google Docs easily, but what if you want total Windows integration? Here’s how to add them to the Windows Explorer “New” menu for easier access.

我们已经向您展示了如何创建快捷方式来轻松创建新的Google文档,但是如果您希望与Windows完全集成怎么办? 以下是将它们添加到Windows资源管理器“新建”菜单中以便于访问的方法。

This should work for all versions of Windows, and you can modify it to work with Google Apps for your Domain as well. Keep reading for the full instructions.

这适用于所有版本的Windows,并且您可以对其进行修改以使其与您所在域的Google Apps一起使用。 继续阅读以获取完整说明。

导入注册表黑客 (Import the Registry Hack)

The first step is to download and extract the package we’ve provided at the end of the article. Once you’ve done that, you’ll want to import the registry hack file, since there are just way too many keys to manually create them all.

第一步是下载并解压缩本文末尾提供的软件包。 完成此操作后,您将要导入注册表黑客文件,因为太多的密钥无法手动创建它们。

Just double-click on the AddGoogleDocsToNewMenu.reg file, provided in the zip file at the bottom of the article, and you’ll see a message saying it was successful.

只需双击文章底部zip文件中提供的AddGoogleDocsToNewMenu.reg文件,您将看到一条消息,说明已成功。

image

You aren’t done yet! Keep reading…

您还没有完成! 继续阅读…

复制图标和流道应用程序 (Copy the Icons and Runner Application)

I’ve created a set of icons and a tiny runner application, which does nothing more than launch whatever your default browser is. In fact, it’s created in AutoHotkey and consists of nothing more than the following line:

我已经创建了一组图标和一个很小的运行器应用程序,除了启动默认浏览器之外,它仅执行任何其他操作。 实际上,它是在AutoHotkey中创建的,仅包含以下几行:

Run, %1%

运行,%1%

You’ll need to copy the 4 icons and the googledocsrunner.exe and put them all into your Windows directory. There should be 5 total files, and it’ll look something like this once you copy them in:

您需要复制4个图标和googledocsrunner.exe,并将它们全部放入Windows目录。 总应该有5个文件,将它们复制到以下文件后,它将看起来像这样:

image

If you’re using regular Google Apps, you should be done. You may need to use the Refresh option from the context menu, like this:

如果您使用的是常规Google Apps,则应该完成。 您可能需要使用上下文菜单中的“刷新”选项,如下所示:

image

Go ahead, test it out! Open up your New menu, and select one of them.

继续进行测试! 打开“新建”菜单,然后选择其中之一。

image

If the icons aren’t showing up yet, you might have to log out and back in, or restart Explorer.exe.

如果尚未显示图标,则可能必须注销然后重新登录,或重新启动Explorer.exe。

编辑Google Apps for Domains的密钥 (Editing the Keys for Google Apps for Domains)

If you’re using Google Apps for your Domain, unfortunately you’re going to need to modify a few keys. You can do this in the registry, or you can modify the .reg file that we imported earlier. If you choose to go the registry route, here’s what you need to do.

如果您为自己的域使用Google Apps,那么不幸的是,您将需要修改一些密钥。 您可以在注册表中执行此操作,也可以修改我们之前导入的.reg文件。 如果您选择走注册表路径,这就是您需要做的。

Open up regedit.exe through the Start Menu search or run box, and then browse down to one of the following keys, one for each type of document:

通过“开始菜单”搜索或运行框打开regedit.exe,然后向下浏览至以下任一键,每种类型的文档对应一个:

  • HKEY_CLASSES_ROOT\.googledoc\ShellNew

    HKEY_CLASSES_ROOT \ .googledoc \ ShellNew
  • HKEY_CLASSES_ROOT\.googledrawing\ShellNew

    HKEY_CLASSES_ROOT \ .googledrawing \ ShellNew
  • HKEY_CLASSES_ROOT\.googlepresentation\ShellNew

    HKEY_CLASSES_ROOT \ .googlepresentation \ ShellNew
  • HKEY_CLASSES_ROOT\.googlespreadsheet\ShellNew

    HKEY_CLASSES_ROOT \ .googlespreadsheet \ ShellNew

For each one, you’ll want to open up the “command” key on the right-hand side, which points to the runner application, and the only parameter is the URL.

对于每一个,您都需要打开右侧的“ command”键,该键指向运行应用程序,唯一的参数是URL。

image

You’ll need to modify each of the URLs so that it matches your domain, in the format below:

您需要按照以下格式修改每个URL,使其与您的域匹配:

  • https://docs.google.com/a/YOURDOMAIN.com/?action=newdoc

    https://docs.google.com/a/YOURDOMAIN.com/?action=newdoc
  • https://spreadsheets.google.com/a/YOURDOMAIN.com/ccc?new

    https://spreadsheets.google.com/a/YOURDOMAIN.com/ccc?new
  • https://docs.google.com/a/YOURDOMAIN.com/?action=new_presentation

    https://docs.google.com/a/YOURDOMAIN.com/?action=new_presentation
  • https://docs.google.com/a/YOURDOMAIN.com/drawings/create?hl=en

    https://docs.google.com/a/YOURDOMAIN.com/drawings/create?hl=zh_CN

Once you’ve done that, you should be done, and the shortcuts should work now.

完成此操作后,就应该完成了,快捷方式现在应该可以使用了。

删除注册表黑客 (Removing the Registry Hack)

To remove the registry hack, use the provided UninstallGoogleNewMenu.reg file, and then delete the 5 files you copied into the Windows directory.

要删除注册表黑客,请使用提供的UninstallGoogleNewMenu.reg文件,然后删除复制到Windows目录中的5个文件。



Download the Google Docs “New” Menu Package from howtogeek.com 从howtogeek.com下载Google文档“新”菜单包

翻译自: https://www.howtogeek.com/howto/36658/how-to-add-google-documents-to-the-windows-explorer-new-menu/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值