• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie


  • Subject: Newbie
  • From: Michael Wilking <email@hidden>
  • Date: Thu, 12 Dec 2002 14:14:01 -0800

New to AS

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.

Trying to write a script to detect what connection I have.
Tried one referring to Internet Connect (not working for a number of
reasons)

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

I know the 3whole bunch of other stuff2 may be possible, not possible, easy,
hard but,
my main focus right now is to have AS detect what connection I have.

Should I reference Sys Preferences -> Network, rather than Internet Connect?
Can someone point me in the right direction?
--
Mike Wilking
619 990 7642

email@hidden
also: email@hidden
_______________________________________________
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.

  • Prev by Date: Re: Add an item to OS X's "startup items"
  • Next by Date: Re: Add an item to OS X's "startup items"
  • Previous by thread: Re: Scope
  • Next by thread: Re: applescript-users digest, Vol 3 #1139 - 15 msgs
  • Index(es):
    • Date
    • Thread