lettertwo Posted February 13, 2013 Share Posted February 13, 2013 I know i can write Applescript to open Terminal or iTerm, but I'm interested to know if i can use the Alfred-configured choice for the 'shell command' and 'open terminal here' features. Link to comment
jdfwarrior Posted February 14, 2013 Share Posted February 14, 2013 So... you are wanting to open a terminal and execute a command? I'm not really clear on what it is you are wanting to do? Link to comment
lettertwo Posted March 4, 2013 Author Share Posted March 4, 2013 Sorry for the time lapse in responding and the lack of clarity! I have a workflow that launches a terminal session, but I don't want it to assume which terminal application to use. Instead, I would like to choose which terminal application to launch based on Alfred's own 'Terminal/Shell > Application' setting (basically, either launch iTerm2 or Terminal.app based on this setting). Link to comment
lazay Posted March 7, 2013 Share Posted March 7, 2013 Just read it here : ~/Library/Application Support/Alfred 2/Workflow Data/Alfred.alfredpreferences/preferences/features/terminal/prefs.plist Read the value of the key 'application', if value is 0, it's Terminal, if it's 1, it's iTerm, 2 = custom If custom is selectioned, read value of key 'custom' 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