Auto change File Panel Mode per directory

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

Auto change File Panel Mode per directory

Post by theelf »

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: 1326
Joined: Mon 04 Apr, 2005 13:41
Location: San Ramon, CA / Kharkov, UA
Has thanked: 32 times
Been thanked: 61 times

Auto change File Panel Mode

Post by Yegor »

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: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Auto change File Panel Mode per directory

Post by HaRT »

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

Post by theelf »

Hi, thanks for help

Any easy/very easy/incredible easy tutorial about using macros?
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Auto change File Panel Mode per directory

Post by Shmuel »

theelf wrote: 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

Post by theelf »

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 theelf on Thu 01 Jan, 1970 01:00, edited 0 times in total.
Reason: [spoiler]
Post Reply

Return to “General Discussions”