LinkedTab_AutoOpen_Handler: Open related folder tabs automatically

A few comments...

Toggling scripts on/off actually IS entirely in scope :wink:. It just requires scripts to be written in such a way that allows it. As was done in a previous script I posted, we can use the new global/lister/tab environment variables to control things like script behavior. Whether or not GPSoft intended for the vars to be used this way with scripts or not - it works great, can be toggled by any standard means in Opus (button/hotkey) and is easy to add... how do you want it to work? On by default, or off by default?

About using qualifier keys... in this case, it can be done... but would need for the script to be re-written as a ScriptCommand instead of as an 'event handler' so that using (f.ex.) Left double-click + Alt on the All Folders filetype would then be able to be configured to run the ScriptCommand. However, this would only cover dbl-clicking on folders, and not catch other methods of opening the trigger folders. If we are ever able to get access to qualifier keys held down during whatever actions fire the Events we can register in the scripting interface (this one uses OnAfterFolderChange), then we can still do everything in the event handling script approach this script uses... I've asked for exactly this while writing this script and realizing it would be very useful for this and several other ideas I've had, but have no idea if we'll ever see it happen. It would ALSO be useful for the piece of this script that auto-CLOSES the linked tab... based on the OnCloseTab event, at which point that piece could be broken out of this script and made generally useful for people as an on-demand way of using a qualifier key to auto-close linked tabs in any arbitrary use-case not related to the intent you had with this particular script.

Cool stuff - sooooo grateful to GPSoft for these interfaces in v11.........