User's utilities
Installing user’s utilities
The plugin treats the file _usermenu.lua lying in the plugin’s directory as the installation script for user’s utilities. This script is run in two cases:
- When Far calls
SetStartupInfoW
of the plugin - When the command “Reload User File” from the Configuration Menu is executed
There are a few installation functions that are intended to be called from _usermenu.lua.
Running installed user’s utilities
User utilities can be configured to run in the following ways:
- Via a menu item; see
AddToMenu
. - Via a shortcut (from Editor only); see
AddToMenu
. - From the command line (the plugin registers a command
line prefix
lfe
); seeAddCommand
.
Running scripts without installation
- From the Editor: use the included utility Lua Script.
- From the command line.