Jump to content
Sign in to follow this  
spacecadet9

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

Share this post


Link to post

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"…'.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...