Lua is a scripting language that gained popularity due to how easy it is to embed and learn.

learn more… | top users | synonyms

0
votes
0answers
4 views

attempt to call global 'loadstate' (a nil value) - Lua

i creating a game that has a menu, and when i click on 'start game' i'm trying to load other file, but i'm getting this error when i try: attemp to call global 'loadstate' (a nil value). I have a ...
0
votes
1answer
91 views

How to take screenshot(using selection) in awesome wm via scrot

Tried: awful.util.spawn("scrot -s") awful.util.spawn("urxvt -e \"scrot -s\"") os.execute("scrot -s") and all possible combinations even with sleep. Also tried daemonize. Nothing works =( P.S. All ...
0
votes
2answers
39 views

How to install luadoc

I am trying to install luadoc. Running the command make targeting the Makefile does not make any effect. make: Nothing to be done for '/Users/ernestbofill/.luadoc/Makefile'. I have lua installed via ...
0
votes
0answers
53 views

How to enable LUA in wireshark?

This question is for Linux Centos Platform. I am doing a project in which Wireshark Traffic is to to be exported to a .pcap file and later used for further analysis. This export is to be automatic ...
1
vote
0answers
23 views

Run a script with Apache2 in a certain directory

I am trying to run WebMCP on an Apache2 server. It's got 2 executable files, which I have in /opt/webmcp/cgi-bin/webmcp.lua and /opt/webmcp/cgi-bin/webmcp-wrapper.lua If I run the wrapper from a ...
0
votes
0answers
269 views

How do I use Lua for Windows from a USB stick when I move to another machine?

My scenario is this: I am tired of carrying my computer everywhere and, when mobile, find that I can achieve most of what I need using PortableApps. I am getting to grips with Lua but there is no ...
0
votes
1answer
84 views

How do I write an imapfilter “does not contain” email rule please?

I've recently installed imapfilter. I have some simple copy and pasted rules that I like, such as this in my config lua file: results = account1.INBOX:contain_from('git@gitosis.mycompany.com') ...
1
vote
1answer
92 views

Using convert template from Wikipedia throwing Scribunto error

I imported the convert template (Template:convert) from Wikipedia to use on my Wiki; it throws the following error when used: Internal Eroror [18eba24f] 2013-07-09 15:00:33: Fatal exception of ...
-1
votes
1answer
237 views

Building LuaPlus with VS2012 [closed]

I've been trying to build luaplus with vs2012 but jamplus report missing files in projects. Vs2012 report same errors when i'm building from the ide. I've checked ...
2
votes
0answers
140 views

MonoDevelop can't find .so file in LD_LIBRARY_PATH

I'm making a game using MonoGame and a Linux implementation of LuaInterface. However, whenever I try to build the project, MonoDevelop gives an error saying that it is unable to load liblua5.1.so, ...
0
votes
1answer
29 views

Building and Using Lua for iMac

I successfully built Lua for my iMac and I can run simple controls in terminal, but I have longer programs I want to run. On Windows, I was able to just double click my sample.lua file and it would ...
2
votes
1answer
1k views

Macro hotkey for “Save image as…” in Firefox

Win7 64bit Newest Firefox Logitech g710+ keyboard with Logitech Gaming software Right now, I have to Hover over an image right-click click on "save image as.." click "save" on the explorer save ...
1
vote
1answer
300 views

Awesome Window Manager - Open Chromium Developer Tools on Different Screen Than Chromium

I have three screens. One is for URxvt and VIM, another is for Chromium, Firefox, and Opera, and the third is for Chromium's Developer Tools. Below are the rules I've created in my rc.lua in an ...
0
votes
2answers
281 views

How might a video website be blocking direct access to the flv/mp4 files?

I've been trying to tinker with making VLC support video websites that aren't included in the default distribution. When I view the source of the video webpage, I am able to extract something that ...
1
vote
2answers
308 views

Focus on application when changing workspaces in awesome-wm

I am using archlinux in combination with awesome-wm for quite a while now. I still haven't figured out how to automatically grab the focus on an application when changing workspace through Mod+number. ...
0
votes
1answer
208 views

Awesome WM buttons stop working

This is an excerp from my rc.lua: testcfg ={} testcfg.s = 1 testcfg.widget = widget({type = "textbox", name = "testcfg.widget", align = "right"}) testcfg.widget.text = testcfg.s testcfg.command = ...
4
votes
1answer
436 views

Awesome-wm a signal to rise client when focus recieved

I've got my Emacs running on a tag worker with server-start launched. And I have a file manager opened somewhere else (another monitor for example) when i open a text file with emacsclient it ...
0
votes
2answers
712 views

How to setup and use lcurses (curses for Lua)?

I'm not very good at manual installation. I want to use lcurses, a binding of curses for Lua in a program, with require('curses'). When I run make in the lcurses directory, there is an error ...
1
vote
3answers
5k views

Awesome Window Manager - Rule assigning programs to tags

I have a set of tags 'main', 'www', and 3: -- {{{ Tags tags = { names = {"main", "www", 3}, for s = 1, screen.count() do tags[s] = awful.tag(tags.names, s, tags.layout) end } -- ...
1
vote
1answer
646 views

Can't install lua on Mac 10.6.4

I uccessfully installed MacPorts on Mac 10.6.4 but I can't install lua. I know MacPorts is installed because from my Administrator account I can successfully execute 'port selfupdate' and 'port search ...
1
vote
1answer
682 views

Linking to lua libraries w/ codeblocks on linux

After I downloaded the source for lua, I followed the install instructions, doing... make linux install make generic install I've also done the make test and it passes, printing out Hello World, ...
0
votes
2answers
1k views

I want to replace a number with successive numbers, starting at 1 and going up

I'm aware that this is something people can easily program, but I'm not familiar with those things, so I was hoping there was an easier solution. I've edited a large database of questions, including ...
0
votes
1answer
894 views

How match 'other' applications to a tag in awesome-wm?

I use version 3.3.4 of awesome and it is fine. But I miss one thing I could do with an older version of awesome (without configuration via Lua): I could add a matcher with the regular expression .* to ...