Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: Cranky on November 10, 2013, 01:52:50

Title: Getting preset directories on a button
Post by: Cranky on November 10, 2013, 01:52:50
I need to have the left and right columns set to two specific directories, that I access often, and also sorted by inverse date.  I want to have this set to a button, is there any easy way to do this without learning scripting?
Title: Re: Getting preset directories on a button
Post by: Ulfhednar on November 10, 2013, 11:20:24
Use an ini
http://multicommander.com/docs/commandlineparameters (http://multicommander.com/docs/commandlineparameters)
works well
Title: Re: Getting preset directories on a button
Post by: Cranky on November 10, 2013, 16:50:12
That helps - but as I'm working I move around to different directories and would like a quick way to get back to my "favorite" setting

Use an ini
http://multicommander.com/docs/commandlineparameters (http://multicommander.com/docs/commandlineparameters)
works well
Title: Re: Getting preset directories on a button
Post by: Mathias (Author) on November 10, 2013, 18:52:29
Not without using script..

But it is a pretty easy script. Create a script and assign that to a button/menu/hotkey

Create a command of MultiScript type and do

Code: [Select]
MC.Explorer.Goto PATH="C:\MyPath"
MC.Explorer.Sort COL=1 ORDER=ASC

See Doc for more parameters to the command that can be usefull
MC.Explorer.Sort (http://multicommander.com/docs/customcommands_list#mc.explorer.sort)
MC.Explorer.Goto (http://multicommander.com/docs/customcommands_list#mc.explorer.goto)

Title: Re: Getting preset directories on a button
Post by: Jungle on November 10, 2013, 18:56:30
One more thing. It is possible to create special column set that will be applied when you open predefined directories.
Title: Re: Getting preset directories on a button
Post by: Cranky on November 11, 2013, 00:08:59
Oh very cool - it took my two minutes to get one side what a want from a button push - now I need to read the docs for the other side

Not without using script..

But it is a pretty easy script. Create a script and assign that to a button/menu/hotkey

Create a command of MultiScript type and do

Code: [Select]
MC.Explorer.Goto PATH="C:\MyPath"
MC.Explorer.Sort COL=1 ORDER=ASC