Skip to content

m32/far3python

Repository files navigation

Far Manager Plugins API bindings for Python

The python plugin has only one purpose - to facilitate the writing of scripts that extend the capabilities of FarManager.

Useful links

Howto

  • Just place far3python.dll and far3 directory inside plugins path searched by FarManager.

  • Logging and logger configuration There is a logger.ini file, you can set your own log information preferences there. By default, the log is saved to the file w:/temp/far3-py.log.

  • Fundamentals

  • plugins must be accessible via PYTHONPATH

  • the plugins are loaded with the command "py:load filename" for example py:load ucharmap

  • unloading the plugin is done with the command "py:unload filename" for example py:unload ucharmap

  • ucharmap - an example plugin showing part of the UTF-8 character set F11 + "Python Character Map" - display its dialog after pressing Enter/OK selected character is coppied into clipboard, character selection is done with mouse or arrows

  • utranslate - how to use Google translate for spellchecker and text translation F11 + "Python Translate" - display help dialog

Testing

Implementation status

Basic API

Export functions

Service functions

Panel API

Export functions

Service functions

Editor API

Export functions

Service functions

Viewer API

Export functions

Service functions

Dialog API

Export functions

Service functions

Settings API

Export functions

Service functions

Plugin Manager API

Service functions

Miscellaneous API

Export functions

Service functions

Macro API

Service functions

License

This project is licensed under the terms of the MIT license.

See LICENSE-MIT