Pass text input to Shell using automator.
Hello again Apple Community!
What I am trying to do is use automator to promt the user for information like a username and password and then pass that information through a shell command to create a generic keychain item.
What I have so far is an Automator "Ask for text" getting the username and the script I have so far is:
on run {input, parameters}
do shell script "security add-generic-password -a" & input & "-s servicename -w IAMZPASSWURD"
end run
But it will not take the input and include it in the shell script. Any ideas?