Ask a two part question, get a four-part answer!
Is there a way to use TotalTerminal with Go2Shell or to open in TotalTerminal a shell set to the current directory?
Is it possible to have multiple windows (or tabs) in the Visor of TotalTerminal?
(Very related to your linked second question, I think.)
Original, and boiled answer: Yes, and sure: In fact, here, I've written you a little app.
It's an Automator applet with an unholy mixture of shell, AppleScript, and a couple System Events triggers. Lots of caveats, a few instructions:
- [Some of this can be changed by editing the script(s) — open the program in Automator.]
⌘-drag into Finder toolbar to "install".
- You must have TotalTerminal open (i.e., the menu bar icon) prior to using this.
- You will need to "enable access for Assistive Devices" (<=10.8), or authorize "System Events" in Security/Accessibility pane (10.9). It will prompt you.
- Your Visor trigger must be
- Your default profile must be 'Visor'.
- Your startup action must be "new window with settings: Visor".
- It doesn't work 100% like Go2Shell, as something in Finder must be selected — if it seems to not be working, make sure you've clicked something. Mostly only affects icon view.
- Probably a couple other things I'm forgetting. If you decide to use this and can't get it to work, let me know. It does work.
You probably don't want to use this.
If I can take the liberty of guessing your underlying question, I think it might be something to the effect of:
I'm using the Terminal a lot these days, and I've found TotalTerminal to be very useful. But its also limited in a lot of ways. How can I do [this/that/the other]?
(I'm venturing that is basically the case since I found myself in that same situation not all that long ago.)
So, probably a better answer:
(In my own opinion and experience.)
Simply by virtue of the fact that you're asking these questions, and its important enough to you to post a bounty, I think It's probably time to upgrade to a more powerful terminal emulator. You might have looked at iTerm before, perhaps found its configuration/preferences to be cumbersome, and yes, that's not one of its strongest points. But once you overcome that, it makes up for it manyfold in power and flexibility. It's absolutely worth investing the time to figure it out, since it can do what you're asking now, and probably what's you'll be asking next as well.
Just a couple examples:
- multiple system-wide hotkeys for flexible "visors", with customizable settings for each.
- Recursive split panes, as well as tabs.
- Go2Shell supports it fine:
open -a Go2Shell --args config, select iTerm2.
- Doesn't require hacking Terminal.app by injecting code.
- Lots more (look under the help menu).
Quick and dirty demo (animated gif, click to expand):
If anyone is wondering what magic they're seeing here:
That's iTerm (with a profile with a system hotkey), the Solarized theme, fish, and vimpager.
Hopefully, you'll find something that works well for your workflow: if not, keep looking.
More or less, someone's always already done it — you just have to find it!