jscript
How do I call a Word Macro with parameters from JScript
I have a Word template with a macro defined in the ThisDocument section: Sub Go(pID As Integer, pPassword As String)[详细]
2023-04-10 22:26 分类:问答How to enumerate my environmental variables in JScript?
How do I enumerate my process\'s environ开发者_运维技巧mental variables in JScript, and, say, output them to the screen?The solution is the same as in this answer, only you use WshShell.Environment(\"[详细]
2023-03-31 21:22 分类:问答String join in JScript?
How do I join a bunch of strings with a separator in JScript? (I\'m loo开发者_如何学JAVAking for a solution with linear running time.)Like the join() method? =D[详细]
2023-03-31 17:04 分类:问答Which one execute first?
Here is the code: <script> document.getElementById(\'btn\'开发者_如何学Python).addEventListener(\'mousedown\',(function(){[详细]
2023-03-26 05:22 分类:问答How to evaluate Xpath when DOCTYPE present in XML declaration
I have problem with evaluation XPath expression in Windows Script Host using JScript when is present on top of document. When I remove DOCTYPE parsing doesnt break. Here is sample of code that I am[详细]
2023-03-25 10:59 分类:问答how to create a class in classic jscript?
how to create a class in classic jscript? (not jscript.net) And, how to reference this class?. I tried with[详细]
2023-03-14 02:04 分类:问答in JavaScript, when finished with an object created via new ActiveXObject, do I need to set it to null?
In a Javascript program that runs within WSH and creates objects, let\'s say Scripting.FileSystemObject or any arbitrary COM object, do I need to set the varia开发者_JS百科ble to null when I\'m finish[详细]
2023-03-02 04:58 分类:问答How to read a spreadsheet with WSH?
I need to read some cell values from a .xls file using JScript under WSH. Is there any COM object or anything that I can use to do tha开发者_开发技巧t?Actually there is a COM component for this. Its[详细]
2023-02-21 21:17 分类:问答Read Excel data (cell)
I\'m trying and trying and I just can\'t. Please I need to read/display a specific c开发者_运维知识库ell in my html just like another text. I\'m using this:[详细]
2023-02-20 04:24 分类:问答How can I write a simple JScript input/output program?
I\'m planning on using JavaScript to enter an informatics competition (BIO) tomorrow. However, I can\'t rely on the examiner having a browser with a decent JavaScript engine, so I was hoping to use Mi[详细]
2023-01-30 18:12 分类:问答