Re: Newbie / PowerBook at work (LAN) & home (AirPort)
Re: Newbie / PowerBook at work (LAN) & home (AirPort)
- Subject: Re: Newbie / PowerBook at work (LAN) & home (AirPort)
- From: "Marc S.A. Glasgow" <email@hidden>
- Date: Fri, 13 Dec 2002 02:09:31 -0500
There are multiple simple solutions available, but not all are
applescriptable.
The simple way to do it is to go into System Preferences Panes ->
Network -> Location (menu). Set up your settings for the different
locations you visit and then simply choose. Unfortunately, last time I
checked, System Preferences Panes were not scriptable yet (I was trying
to script the displays preference panes a week ago).
The second way is to check with your network people at work to see if
their network supports DHCP (which almost all do), and configure your
System Preferences Panes -> Network -> to use DHCP, which
auto-configures itself for the location. Set your AirPort to do the
same, then use the Location: Automatic setting.
Third, take a look at Rendevous at www.apple.com . This free software is
supported by OS 10.2.2 and is designed to auto-configure your unit as
you make this kind of transition -- automatically detecting available
printers, network connections, servers, etc. I am not sure if the
printer at work will respond correctly for Rendevous to do what it
should (depends on the make/model of the printer), but in most cases it
will. I do not know if Rendevous is scriptable, as I haven't played
around with it in AS yet.
Best Wishes,
=-= Marc Glasgow
On Friday, December 13, 2002, at 01:00 AM,
email@hidden wrote:
I have a PowerBook, Mac OS 10.2.2
Point is, I take PB places.
Depending upon location, may connect thru Airport, or LAN (e.g. At work
Windows2K server) or no connection at all.
[snip]
Trying to do something along these lines:
IF Airport Then
If Home network
Then set a whole bunch of stuff, e.g. Default printer = MyPrinter
Else if friends9 network then set a bunch of other stuff, e.g.
Their
printer
End if Airport
Else
If LAN at work
Then do a whole bunch of other stuff, e.g. Default printer to
WorkPrinter
[snip]
Should I reference Sys Preferences -> Network, rather than Internet
Connect?
Can someone point me in the right direction?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.