如何从第三方应用程序将文件添加到名称空间扩展 [英] How to add file into namespace extension from third party app

查看:125
本文介绍了如何从第三方应用程序将文件添加到名称空间扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我已经创建了一个名称空间扩展.而且我需要实现从第三方应用程序向其中添加文件的功能.
例如.
步骤1.使用mspaint.exe创建图片.
步骤2.从文件菜单中单击保存.
第3步.选择命名空间扩展名作为目标文件夹,然后在保存文件对话框中输入新名称.
步骤4.单击保存

单击保存按钮时,我应该实现任何接口来接收有关保存文件的信息和数据吗?

Currently,I have create a namespace extension. And I need to implement the functionality to add file into it from third party application.
eg.
Step 1.Create a picture with mspaint.exe.
Step 2.Click save from file menu.
Step 3.Select namespace extension as target folder and input a new name in the save file dialog.
Step 4.Click save

Is there any interface I should implement to receive the information and data about saving file when the save button is clicked?

推荐答案

除非应用程序那里有特定的挂钩或API无法将代码注入其进程中.
Unless the application has specific hooks or an API there is no way to inject your code into its process


一种方法是使用镜像位置保存所有保存.然后使用后台进程在镜像和后端之间进行同步. EZNamespaceExtensions 倡导这种方法.
One method is to use a mirror location where all saves are saved. Then use a background process to sync between the mirror and your backend. This approach is advocated by EZNamespaceExtensions.


这篇关于如何从第三方应用程序将文件添加到名称空间扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆