Scripting System Prefs

I am new to Apple Scripting and would like some help. I am trying to write a script to add new Locations to Network Prefs. Where can I find the names of Network Prefs Pane and everything inside to beable to script it? I really don’t want anyone to write the script, but just point me in the right direction.
Thanks

I’ve never seen this done. The System Prefs dictionary is very sparse, not a lot of control there, so I doubt this can be done without scripting extensions.

Hi Fergy

I’ve seen this question asked a few times before and i think the solution everytime was GUI Scripting.
Try and do a search on here you should come up with something.

Good Luck