如何在另一个exe中传输Web功能? [英] How to transfer a web function in another exe ?
本文介绍了如何在另一个exe中传输Web功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一个网页,并且该页面中有一个脚本功能"a".现在,我编写了一个exe,是否可以在exe中激活功能"a"?
There is a web page , and there is a script function ''a'' in that page . Now i wrote an exe , is there any way to active function ''a'' within the exe ?
推荐答案
如果要提取JavaScript并将其存储在文件,然后您可以使用wscript在Windows中执行此操作.
http://msdn.microsoft.com/en-us/library/xazzc41b% 28VS.85%29.aspx [ ^ ]
或者您可以使用wsh对象模式:
http://msdn.microsoft.com/en-us/library/a74hyyw0.aspx [ ^ ]
作为旁注:为dll提供新功能并使用该功能更新某些功能可能会更容易.
祝你好运!
If you would extract the JavaScript and store it in a file then you could execute this in windows using wscript.
http://msdn.microsoft.com/en-us/library/xazzc41b%28VS.85%29.aspx[^]
Or you could use the wsh object modal:
http://msdn.microsoft.com/en-us/library/a74hyyw0.aspx[^]
as side note: It could be easier to provide a dll with the new functionality and update a certain function with that.
Good luck!
这篇关于如何在另一个exe中传输Web功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文