How to run sudo commands in Automator?
I read many blog entries and references about how to accomplish this but none of the applescript that supposed to take the password from the user worked as they should. I learned that you can run applescript + shell script in automator, but I don't know how to incorporate these two together to make sudo work.
For example, from here: http://discussions.apple.com/thread.jspa?messageID=6371405
I tried the apple script
do shell script "/Library/Application\ Support/VMware\ Fusion/boot.sh --restart" password "pass" with administrator privileges but it returned error: expected "" but found unknown token.
What does it even mean?
Please let me know if you have any ideas. My mac is currently 10.6.3.
Tim
Message was edited by: ttback
iMac, Mac OS X (10.6.3)