Click here to Skip to main content
15,904,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 ?
Posted

1 solution

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!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900