Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moteus/lua-winreg
Lua binary module to Access Microsoft(R) Windows(R) Registry
https://github.com/moteus/lua-winreg
lua registry windows winreg
Last synced: 3 months ago
JSON representation
Lua binary module to Access Microsoft(R) Windows(R) Registry
- Host: GitHub
- URL: https://github.com/moteus/lua-winreg
- Owner: moteus
- Created: 2012-09-05T12:34:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T08:25:49.000Z (almost 6 years ago)
- Last Synced: 2024-10-05T06:40:06.243Z (3 months ago)
- Topics: lua, registry, windows, winreg
- Language: C
- Size: 62.5 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# winreg
[![Build status](https://ci.appveyor.com/api/projects/status/8xfyu8bow3n51jv2/branch/master?svg=true)](https://ci.appveyor.com/project/moteus/lua-winreg/branch/master)
--------------------------------------------------------------------------------
## Jas Latrix
Copyright © 2005, 2006 Jas LatrixAll Rights Deserved. Use at your own risk!. Shake well before using.
--------------------------------------------------------------------------------
# Introduction
winreg is a Lua binary module to Access Microsoft(R) Windows(R) Registry. The registry is a
system-defined database that applications and Microsoft(R) Windows(R) system components use to
store and retrieve configuration data.
Load the module via the require function (make sure Lua can find the module), for example:```lua
local winreg = require"winreg"-- prints all the special folders
hkey = winreg.openkey[[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]]skey = hkey:openkey([[Explorer\Shell Folders]])
for name in skey:enumvalue() do
print("\nname: " .. name
.. "\npath: " .. skey:getvalue(name))
end
```