How to install Block Indent plugin/macro?

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
Mansesu
Posts: 2
Joined: Mon 08 Aug, 2022 04:28
Has thanked: 2 times

How to install Block Indent plugin/macro?

Post by Mansesu »

Hi, I'm totally new to this software. I want to install Block Indent plugin or macro (I don't know it's a plugin or macro) to my far manager version 3.0.58888.0 x64 but I don't know how to do it.

The plugin or macro(?) I want to install:
https://plugring.farmanager.com/plugin.php?pid=382&l=en

What I did before:
1) I tried to download BlockIndent.lua from this link https://plugring.farmanager.com/plugin.php?pid=382&l=en and put it in "C:\Program Files\Far Manager\Addons\Macros" folder, nothing happens, I can't indent the selected block while programming C++.
2) I tried to download this BockIndent file from download/file.php?id=3488 which I got in this viewtopic.php? f=5&t=3229 forum and put it in "C:\Program Files\Far Manager\Plugins" folder, nothing happens.

Seriously, I don't know what I'm doing.
How to Install it? Thank you
Shmuel
Posts: 6834
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 530 times

How to install Block Indent plugin/macro?

Post by Shmuel »

Put BlockIndent.lua into %FARPROFILE%\Macros\scripts and restart Far.
Find information about macros in %FARHOME%\Encyclopedia\macroapi_manual.en.chm.
User avatar
HaRT
Moderator
Posts: 10855
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

How to install Block Indent plugin/macro?

Post by HaRT »

 ! Message from: HaRT
Mansesu, I encourage you to read the Far FAQ (the link is at the top of the page below the logo). Use online translator as needed.
Фар есть инструмент, а не нянька. © 2009 DrKnS
Mansesu
Posts: 2
Joined: Mon 08 Aug, 2022 04:28
Has thanked: 2 times

How to install Block Indent plugin/macro?

Post by Mansesu »

Sorry for not reading the FAQ first. I put BlockIndent.lua into the folder but after that when I open the far manager, there is some kind of error saying that the file has an "Invalid macro flag: DisableOutput".

I tried removing the line " flags = "DisableOutput" " in the BlockIndent.lua file following this "viewtopic.php?p=133237&hilit=Invalid+ma ... ut#p133237" forum and the error is gone.

The macro I think is working pretty well and the problem is solved, thanks all.
Post Reply

Return to “Support and Troubleshooting”