News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
"murgaLua -e string" in Windows and Mac
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: "murgaLua -e string" in Windows and Mac

It's a standard Lua commandline option, documented in section 6 of the Lua manual.

-e stat: executes string stat

So for example, the following command would set scriptname.lua to use the plastic scheme even if Fl:scheme(NULL) is not in the script:

murgaLua -e "Fl:scheme('plastic')" scriptname.lua

In the new widgets_demo layout I'm using this to set the images variable so individual scripts can find the images. The scripts themselves cannot find this directory because they are run from temp files.

02-28-2008 08:16 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: "murgaLua -e string" in Windows and Mac - mikshaw - 02-28-2008 08:16 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: