https://github.com/kessler/node-regedit-code-generator
scrape method signatures from msdn to generate vbscript code for https://github.com/kessler/node-regedit
https://github.com/kessler/node-regedit-code-generator
Last synced: 2 months ago
JSON representation
scrape method signatures from msdn to generate vbscript code for https://github.com/kessler/node-regedit
- Host: GitHub
- URL: https://github.com/kessler/node-regedit-code-generator
- Owner: kessler
- License: mit
- Created: 2015-02-17T06:04:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T02:39:50.000Z (about 2 years ago)
- Last Synced: 2025-02-26T22:42:17.452Z (2 months ago)
- Language: VBScript
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 6
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# regedit-code-generator
Quick and dirty tool designed to scrape msdn for StdRegProv method signatures.
The metadata obtained from there is then used to populate vbscript method templates that are used in Architecture Specific Registry api in [regedit](https://github.com/ironsource/node-regedit)
Clone this repo and then run ```node run.js > result.vbs```
## other files
### parseMsdnMethodUrls.js
parse the StdRegProv method summary page (defaults to [https://msdn.microsoft.com/en-us/library/aa393664(v=vs.85).aspx](https://msdn.microsoft.com/en-us/library/aa393664(v=vs.85).aspx)) to find all the methods. override url with --url### parseMsdnMethod.js
parse a single method reference page to extract information that will later be used to construct the vbs method, must specify --url### renderTemplate
buffers json piped into it, loads the template file specified by --template cl arg and the renders the template using the piped json as data### vbMethodTemplate
a vbscript method template## TODO
what about return values in current vbscript template (how do they work with ExecuteMethod?)