View Single Post
Talcon

 
Member Since: Mar 16, 2009
Posts: 1
Talcon is on a distinguished road

Talcon is offline
Use the "set" command, for example:

set ipaddress to do shell script "ifconfig en1 | grep 'inet' | awk '{print $2}'"

Once you have this done, you can use it in same script.
QUOTE Thanks