VirtualHardwareLuaConsoleButtons

Add

This button will prompt for a filename for your new Lua script. Do not include directory paths or the .lua extension. Once you have entered the filename, the Lua script will be created and opened for editing using your default system editor. You can change the default editor used by the Lua Console in the Edit menu.

Edit

This button will open the selected Lua script file for editing using your default system editor, but this can be changed. The freeware Notepad++ is an excellent editor for writing code.

Execute/Run

This button will execute the selected Lua script. Any errors will be displayed in the Output area.

Refresh

This button will ensure that all Lua script files are found and listed and the associated Bespoke Events to assign and run them exist. You only need to use this button if you have added, renamed or deleted .lua files outside of the Lua Console. Note that Refresh happens automatically when the Lua Console is first opened.

Delete

This button will delete the selected Lua script file.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.