[英]How to run a Python script in Windows Task Scheduler when a file is downloaded from Edge?
I wrote a script using Python and I want it to be executed every time I download a file using Microsoft Edge.我使用 Python 编写了一个脚本,我希望每次使用 Microsoft Edge 下载文件时都执行它。 So, I thought about creating a task using Task Scheduler
所以,我想到了使用任务计划程序创建一个任务
However, I don't know how to do it.但是,我不知道该怎么做。 I did some research but I found nothing.
我做了一些研究,但我一无所获。 Here are the task's steps:
以下是任务的步骤:
What you should do is to implement downloads.onChanged callback.你应该做的是实现downloads.onChanged回调。
With this, Edge will call your code when a file is being downloaded.这样,Edge 将在下载文件时调用您的代码。
Note that the implantation is based on javascript.请注意,植入是基于 javascript。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.