ListerDoubleClick - Script command which dispatches doubleclicks onto the listers background based on the qualifiers pressed.
You probably already doubleclick the listers background to go back one folder. I use it all the time. Now with this tiny command, you can have different actions performed, based on what key you press while doubleclicking. The provided script adds SHIFT+DClick to copy the lister path to clipboard and CTRL+DClick to go to the path in the clipboard. Multiple qualifiers are supported for new ideas, a regular doubleclick works as before.
This script is a bit different from the usual stuff, as it looks for event functions itself, just like DO does.
So if you like to have SHIFT+CTRL to switch to thumbnails mode, you simply create a function like this:
Using this technique saves you from creating unthinkable constructs, to cover every combination of qualifiers there is, by merely using 15 lines. The parameters “data” and “cmd” translate to scriptCommandData and scriptCommandData.func.command (for conveniance).
Download the *.js.txt file below and drag it to Preferences / Toolbars / Scripts.
Create a new user command called “ListerDoubleClick_UC” and insert the new script command “ListerDoubleClick” (names need to be different).
Then enter the prefs dialog and choose the user command to execute when doubleclicking the folder background.
Now its ready to use, edit your functions as desired, you can enable debug output in the scripts config section.