Lua - Accessing files & controlling applications?

前端 未结 2 1101
无人及你
无人及你 2021-01-06 13:03

How would a person use the Lua scripting language to do things such as this:

Opening an application such as IE and controlling it, accessing the C drive and the curr

2条回答
  •  不知归路
    2021-01-06 13:52

    Generally speaking, Lua doesn't have this kind of stuff built-in. Lua is a minimalist programming language, great for embedding. The core language only uses facilities available in C89. If you want bells and whistles, you need to add Lua libraries.

    You can find libraries by searching the wiki, at luarocks, luadist, or luaforge

    For "controlling IE" you should take a look at LuaCom

    For accessing the current directory, try LuaFileSystem

提交回复
热议问题