Scripting Teminal.app
Scripting Teminal.app
- Subject: Scripting Teminal.app
- From: Marconi <email@hidden>
- Date: Sun, 22 Dec 2002 16:27:56 -0700
How do I script Terminal to enter more than one line? For example:
tell application "Terminal"
do script "sudo /System/Library/Path/To/My/Command" in front window
end tell
How can I then get my script to enter the password in response to the
"Password" prompt (as a result of the "sudo")?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.