derfla Posted January 22, 2013 Share Posted January 22, 2013 If you want that Alfred opens new Terminal tabs instead of windows (for "Open Terminal Here" and ">"), then do this: Open Alfred Preferences, Go to "Features" Go to "Terminal / Shell" Select Application "Custom" Paste this script into the textbox: 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 Maybe it's usefull for some of you. bmazin, Florian and anas 3 Link to comment
bmazin Posted January 20, 2017 Share Posted January 20, 2017 I know this is an old topic, but since moving to 10.12 this no longer works for me. It opens a New Tab, but puts the query in the existing tab first Link to comment
deanishe Posted January 26, 2017 Share Posted January 26, 2017 Try adding a delay 0.3 before do script q in front window to give the new tab more time to activate? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now