Total Commander & Google Chrome

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
elmoo
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-10, 18:45 UTC

Total Commander & Google Chrome

Post by *elmoo »

Hello and greetings from Bulgaria :)

Can I somehow associate Google Chrome with Total Commander, so when I hit "Show in folder" on downloaded item, I want to open "Total Commander" (with the correct dir) instead of opening "Windows Explorer"?
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Nope

Post by *Phred »

That's a Chrome question, elmoo - or rather 'Can I somehow associate Total Commander with Google Chrome, so when...' is the Chrome question.

It's arguable whether Chrome opens 'Windows Explorer' or just simply 'Computer' with the 'Show in folder' action.
It's a subtle difference, but my guess is that you'd have to replace the 'shell' with TC before you got the behaviour you're after.

Note that we have 'Explorer' (what you see when you open Computer) and 'Windows Explorer' - different things.
'Explorer' is essentially the whole graphical interface - 'Windows' itself. The 'shell'.
'Windows Explorer' is a file manager like TC.
elmoo
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-10, 18:45 UTC

Post by *elmoo »

Hey,
Thanks for the reply!

I want to use Total Commander as a file manager instead of Windows Explorer (file manager).

I found something in a file called "resources.pak", but I'm not sure what will happen if I change it and I don't know what code I have to put to make it work with TC ...

The file is located at (C:\Users\User name\AppData\Local\Google\Chrome\Application\24.0.1312.57)

Code: Select all

/**
 * Navigates to the folder that the selected item is in and selects it. This is
 * used for the show-in-folder command.
 */
function showInFolder() {
  var bookmarkNode = list.selectedItem;
  var parentId = bookmarkNode.parentId;

  // After the list is loaded we should select the revealed item.
  function f(e) {
    var index;
    if (bookmarkNode &&
        (index = list.dataModel.findIndexById(bookmarkNode.id)) != -1) {
      var sm = list.selectionModel;
      sm.anchorIndex = sm.leadIndex = sm.selectedIndex = index;
      list.scrollIndexIntoView(index);
    }
    list.removeEventListener('load', f);
  }
  list.addEventListener('load', f);
  var treeItem = bmm.treeLookup[parentId];
  treeItem.reveal();

  navigateTo(parentId);
}
Is this something to try with or I have to search for shell commands associated with chrome on the registry because I've tried to find some but without luck?

Thanks for the help!
vfloyd
Junior Member
Junior Member
Posts: 21
Joined: 2013-12-19, 10:28 UTC
Location: France

Post by *vfloyd »

Post Reply