News:

MultiCommander v16.6 is released!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - HippoFan

#1
Script / How to open a specific folder in a new tab
November 19, 2022, 04:25:36
I want to create a script that open a new tab and goto a specific folder. How do you open a new tab in the current panel? I created a user defined command that executes the internal command to duplicate a tab (Duplicate Tab in Multicommander module). In another script, I execute the duplicate tab command and assign a specific folder. However, Goto command doesn't change the folder in the active tab.


// This user command duplicates a tab
MC.RunUserCmd ID="2e10ab863f2548c2be62cde4b95ecd27"
MC.Explorer.Goto PATH="c:\MyData\Projects\DesktopProjects"


Is it possible to achieve what I want?

Thanks in advance.