ditto, hmmm, nice signature.![]()
I am just starting out with lua, and due to frustration I am NOT IN A RATIONAL MOOD. I am tryin to run the lua program by creating script.cmd, but when I double-click it it just brings up notepad.
WHAT AM I DOING WRONG?!
I am using the tutorials from evilmana
Miniviews:
Spoiler!
i have the seame problem.I am just starting out with lua, and due to frustration I am NOT IN A RATIONAL MOOD. I am tryin to run the lua program by creating script.cmd, but when I double-click it it just brings up notepad.
WHAT AM I DOING WRONG?!
ok you write this in note pad luaplayer
whateveryourluascriptnameis.lua
pause
and save it in the lua player windows folder
the thing is when I double click it like evilmana says, it doesnt start the engine
Miniviews:
Spoiler!
the text document
Miniviews:
Spoiler!
Chances are that you have named the file
XXXX.cmd.txt
but since windows likes to hide extensions by defualt, you can't see .txt.
Go to:
Tools->Folder Options->View
and uncheck "Hide Extensions for known filetypes"
Click Apply, then Apply to All folders then OK.
In the batch file, it should be:
luaplayer NameOfLuaScript.lua
pause
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks