Jump to content

Total Terminal in Terminal / Shell settings


Recommended Posts

I've recently started using Total Terminal but it doesn't seem to interact with Alfred very well

 

If I leave the the default application as terminal in the settings for Terminal / Shell, when I run a terminal command in Alfred it opens a new terminal window and does not use the existing Total terminal window

 

However if I select "Custom" as the application and put "TotalTerminal" in the script that gets presented nothing happens

 

Anyone know if it's possible to get Alfred to play nice with Total Terminal?

 

Thanks

Link to comment

Use "Custom" and this script:

on alfred_script(q)
	tell application "Terminal"
		activate
		tell application "System Events" to tell process "Terminal.app" to keystroke "t" using command down
		do script q in front window
	end tell
end alfred_script

It will open a new tab in the main window of TotalTerminal. If you want to use the existing tab, delete the line starting with 'tell application "System Events"…'.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...