PDA

View Full Version : BUG:LUAWindowsFunktions


father of monstermagnet
January 25th, 2005, 04:22 PM
I tried the LUAWindowsFunktions Plugin, but without success.

Maybe the LWinFunc Constants.lua is missing.

in 3.3

LWF = {} -- store all entries in a table to avoid cluttering the global namespace.

in 4.0 ?

wf = {}

error:

attempt to index global `wf'

Promixis
January 25th, 2005, 05:03 PM
The namespace is now win.

So all functions and constants are under win. Use the table inspector to see.


Docs attached here.

father of monstermagnet
January 25th, 2005, 05:24 PM
Thanks works fine

hwnd = win.FindWindow("NotePad", nil)

print (win.GetWindowText (hwnd))

The exampe file contains this

hwnd = wf.FindWindow("NotePad", nil)

print (wf.GetWindowText (hwnd))

Promixis
January 25th, 2005, 05:25 PM
opps :D