lowkPRO

Conveniences for common tasks

File association for quick apps

Associates .lowk files with lowkPRO so you can create Windows applications on the fly. Just type some Lua code, save it, and you're done!

Getting Started

The full power of the Windows C API is available to the Lua script in any .lowk file.

All functions, constants, and types, and many macros, are available as globals.

  1. Create a .lowk file
  2. Write Lua code
  3. Double-click it

Examples

Hello world

local b = MessageBox(
nil, "❤️?", "hi", MB_YESNO)

print(b, b == IDYES, b == IDNO)
os.execute('pause')

hello world messagebox

6       true    false
Press any key to continue . . .

Sample run loop

local msg = MSG()
while true do
  Sleep(1)
  GetMessage(msg, nil, 0, 0)
  TranslateMessage(msg)
  DispatchMessage(msg)
end