Stefan Reich�r <[EMAIL PROTECTED]> writes: > Hi!
Hi Stefan, > $ ionflux -e 'mod_query.query_workspace(_)' >>> mod_query.lua:44: attempt to index local `mplex' (a nil value) > Error: >> mod_query.lua:44: attempt to index local `mplex' (a nil value) > > > I think, the problem is the _ above. But I have no idea what I should > use instead of _ for the call to ionflux. Yes. The _ is defined when you execute lua code from ion itself, and its value is the context it was called from. mod_query.query_workspace(ioncore.find_screen_id(0)) should do what you want (you can get the "0" from $DISPLAY is you have several screens). -- Matthieu
