AppleScript Terminal Commands


hi,
have 2 commands in terminal use , automate them applescript (or shell script, or script of sort). tried apple script , put in

code:
do shell script "sudo ipfw pipe 1 config bw 50kbyte/s"  shell script "sudo ipfw add 1 pipe 1 src-port 80"
then try run in editor , says "error: password: ". wondering if there someway add password script (i don't care security), or find way around this. rather not type password every time try run script, fine if had to.
in advance!
 



Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Upgrade Eligibility?

need help with itunes 7.7

How to change Apple IDs on iPhones