Hi,
I have 2 commands in terminal i use often and I would like to automate them with an applescript (or shell script, or a script of some sort). I tried apple script and put this in
then i try to run it in the editor and it says "error: Password: ". so i was wondering if there was someway to add a password into the script (i don't care too much about security), or find a way around this. I would rather not type my password every time i try to run the script, but it would be fine if I had to.
Thanks in advance!
I have 2 commands in terminal i use often and I would like to automate them with an applescript (or shell script, or a script of some sort). I tried apple script and put this in
Code:
do shell script "sudo ipfw pipe 1 config bw 50KByte/s"
do shell script "sudo ipfw add 1 pipe 1 src-port 80"
Thanks in advance!