I want to automate printer installation with a variable. I've used an old script that pops up a window where the user can type his or her username to be inserted in printer adress.
name="$(osascript -e 'Tell application "System Events" to display dialog "Skriv in ditt användarnamn:" default...