Set primary ethernet...

Hi,

can anybody please help me with the following?

How can I set the IP Addresse (10.5.x) (dynamic/static) using Applescript?

Thanks for any feedback,

Stefan

The easiest solution would be to set up different locations for each of the settings you need. Then you switch locations like this…

tell application "System Events"
	tell network preferences
		set current location to location "home"
	end tell
end tell