Multi Commander > Support and Feedback

set focus to a folder

(1/3) > >>

avantuser1114:
is there a way to set focus to a folder using multiscript or custom commands?

Mathias (Author):

--- Code: ---MC.Explorer.Goto PATH=F:\Folder\MyFile.exe
--- End code ---

What will change path to F:\Folder and item focus to MyFile.exe

avantuser1114:
It seems that this only works for files..If I want to set focus to a folder 'Myfolder' for example and set the PATH to F:\Folder\Myfolder then Myfolder will be opened..what I want using the previous example is open 'Folder' and set focus to 'Myfolder'...

Mathias (Author):
That will never work. because how does it know if it should show F:\Folder or F:\FolderMyFolder.
Might be possible to add a extra parameter where the focus item is specified.

avantuser1114:
maybe something like  SetSourceFocusPath() function in the multiscript will do the trick..it will automatically set the focus to the final item in the path...of course I know it doesn't exist but maybe considered for the next version....

Navigation

[0] Message Index

[#] Next page

Go to full version