Auto change File Panel Mode per directory

You want to talk about Far Manager, but don't know where to turn?
theelf
Posts: 5
Joined: Wed 02 Mar, 2016 03:25
Been thanked: 1 time

Auto change File Panel Mode per directory

Postby theelf » Wed 02 Mar, 2016 03:30

Hi! thanks for far manager, im a long time user, but this is the first time i dont find any solution to my problem

There is any way to FAR manager auto change the panel mode, depend the directory?

For example, normally i just use Full+8.3 file name, but in some directory i preffer a custom made Alternative Full + long names.

My idea is *if possible* to FAR manager automatically change to Alternative Full + long names when i enter a directory, and restore Full+8.3 when im out

Thanks, sorry my english
Last edited by HaRT on Wed 02 Mar, 2016 09:46, edited 1 time in total.
Reason: Improved Topic Subject

Yegor
Posts: 840
Joined: Mon 04 Apr, 2005 13:41
Location: Kharkov, Ukraine
Has thanked: 2 times
Been thanked: 7 times

Auto change File Panel Mode

Postby Yegor » Wed 02 Mar, 2016 09:33

I believe you can achieve this by using macros. Hopefully some other guys on the forum can direct you how to do this or even help with some sample code.
Мы не можем ждать милостей от Фара, взять их у него — наша задача! (C) Мичурин

User avatar
HaRT
Moderator
Posts: 7917
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 64 times
Been thanked: 94 times

Auto change File Panel Mode per directory

Postby HaRT » Wed 02 Mar, 2016 09:54

theelf, Shell_RememberSelected.lua implements similar functionality, yet with preserving selected items. I believe it can be used as a base for the script implementing the requested behaviour. Or you can ask the author and hope he likes your idea.
Фар есть инструмент, а не нянька. © 2009 DrKnS

theelf
Posts: 5
Joined: Wed 02 Mar, 2016 03:25
Been thanked: 1 time

Auto change File Panel Mode per directory

Postby theelf » Sat 05 Mar, 2016 23:29

Hi, thanks for help

Any easy/very easy/incredible easy tutorial about using macros?

Shmuel
Posts: 4955
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 11 times
Been thanked: 125 times

Auto change File Panel Mode per directory

Postby Shmuel » Sat 05 Mar, 2016 23:35

theelf wrote:Source of the post Any easy/very easy/incredible easy tutorial about using macros?
Not sure if it is easy... %FARHOME%\Encyclopedia\macroapi_manual.en.chm

theelf
Posts: 5
Joined: Wed 02 Mar, 2016 03:25
Been thanked: 1 time

Auto change File Panel Mode per directory

Postby theelf » Sun 06 Mar, 2016 00:44

thanks for help, i check the far manager help, but looks comlicated, and sadly i dont have the time to read so long stuff and learn it for now
I left for future free time ;)

Finally I solve my problem with a autohotkey script. Every time i enter the directory "c:\emula" change to Alternative Full + long names and if not inside this directory restore the Full+8.3

I just open the script with far and close too

Last edited by HaRT on Sun 06 Mar, 2016 13:46, edited 1 time in total.
Reason: [spoiler]


Return to “General Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest