Open a directory shortcut in the opposite tab?

Hi, how can I achieve the following:

When I double-click a directory shortcut link while a specific modifier key is pressed the directory should open in the opposite tab.

Merry Christmas to everyone!

Maybe I should clarify: "Opposite tab" means: Opposite pane.

Does this do what you want?

Settings -> File Types -> All Folders -> Edit -> Events tab. Change one of the events like "Left Double-click + Alt" to

go OPENINDEST

Hi, thank you for the hint. However, it shouldn't act on Folders but on SHORTCUT-LINKS POINTING TO FOLDERS.

You can use the same code but instead of doing it to "All Folders", do it to "LNK" under the "System File Types" grouping. You can use the "Find" button to help find it a little faster.

Hi ktbcrash, that's exactly what I have done in the meantime, but it doesn't work: Nothing happens when I double-click a folder-shortcut.

Correcting a typo: Nothing happens when I Alt-double-click a folder-shortcut.

It seems to be working for me. I attached a short video of it in action (I'm holding Alt on each double-click and I only click on Shortcuts. Each time it opens on the opposite side). I have no idea why it's not working for you, we'll need someone else to help with that, because that's beyond my skills :slight_smile: Maybe another Key binding is interfering?

:opussanta:
DOpus_Shortcuts_Go_OPENINDEST.zip (2.5 MB)

Hi ktbcrash, thanks for the video, I will try to find out if something else interferes with Alt-Double-click, but how can I find out?

I'm not sure if there can be another one interfering? Maybe something in Settings -> Customize Toolbars -> Keys tab? Are those global Keys? Maybe something in there that you changed to use double-click + Alt.

Leo or someone else might have to answer why it's not working.

An odd thing. After I recorded the video, it stopped working. It was as if the double-clicks weren't working for me anymore (Alt and Single Clicking worked). I had to close DOpus to get it working again :astonished:

haha. there only global if they are marked as global. I'm always learning something new :slight_smile:

That happened to me too several times in the last days (before defining this Alt-double-click event).

Something strange going on around Christmas? Alien invasion? :wink:

Hi ktbcrash, what do you mean with "marked as global"?

Settings -> Customize -> Keys tab. When you add a new Key, you can check "System-wide Hotkey". This marks it as Global so it can be used when no Lister is open (But DOpus is running in background). I don't think it matters anyways.

Sorry, I'm out of ideas. I was hoping Leo or someone else would have better advice. I just don't know all the ins and outs enough to help with why this isn't working for you or how to check if another hotkey is taking over. I almost never use or set hotkeys so I never learned it. This is in Windows and Applications. I'm just not a hotkey kind of user :slight_smile:

Good Luck!

Delete the event you added to the Shortcut filetype (that would try to open the shortcut, not what it points to), and just keep it on the "All Folders" filetype.

If that still doesn't work for shortcuts, look at the "All Files" and "All Files and Folders" filetypes and make sure they don't have anything assigned to the same event.

Hi Leo, I've tried it in the "All Folders", in the "All Files" and in the "All Files and Folders" section.

Result: Nothing happens when I Alt-double-click a folder shortcut link.

You don't want the event defined on "All Files" or "All Files and Folders". Putting it on them will break it because doing that will mean the event is run on the shortcut, not on the folder it points to.

You want there to be no event which applies to the shortcut at all so that Opus gives up looking for events that apply to the shortcut and tries again with what the shortcut points to (i.e. the folder), where it will pick up the event from the All Folders filetype.