简体   繁体   English

自动打开下载的文件

[英]Open downloaded file automatically

Chrome remote desktop has a great setup experience Chrome 远程桌面有很棒的设置体验

You click a button to download a file and when it is finished, it has an accept & install button that opens the file.您单击一个按钮来下载文件,完成后,它有一个打开文件的接受和安装按钮。

It shows a dialog like this:它显示一个这样的对话框:

允许 chrome 远程桌面打开 chromeremotedesktophost.msi

It also knows if you cancel or delete the download like this:它还知道您是否像这样取消或删除下载:

在此处输入图像描述

And it knows when the file is finished downloading它知道文件何时完成下载

How could I do this?我怎么能这样做?

Since to use "Chrome remote desktop" you have to download its chrome extension it can use the extension APIs to access the downloads.由于要使用“Chrome 远程桌面”,您必须下载其chrome extension ,它可以使用extension APIs来访问下载。 https://developer.chrome.com/docs/extensions/reference/downloads https://developer.chrome.com/docs/extensions/reference/downloads

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM