Network Info OSAX 1.2 - by Carl W. Bell
Copyright © 1996-1999 Baylor University

Note: If you got here using a web search engine, you can find the program here.

Disclaimer: Although Network Info seems to work fine, it is distributed "as is". Use at your own risk. So there.

Network Info is an AppleScript scripting addition (OSAX) that contains three different commands: network information, AppleTalk zones, and AppleTalk entities. To use it, drop it into the Scripting Additions folder located in your Extensions folder or System folder. Please note that the file name has changed so if you have an old version (called "Network Info OSAX"), you will need to remove it by hand. Otherwise, you will get errors when trying to use the new terminology.

The Dictionary...

network information: returns a record containing various network related stuff

network information
[opening TCP boolean] -- can open TCP [default is true]
[resolving IP name boolean] -- should resolve Mac's IP name? [default is true]
Result: list

AppleTalk zones: returns a list of AppleTalk zones
AppleTalk zones
[retry interval small integer] -- retry interval in seconds [default is 3]
[retry count small integer] -- retry count [default is 4]
Result: list

AppleTalk entities: returns a list of entities on the AppleTalk network
AppleTalk entities
[object name string] -- the object name to search for [e.g., "Joe's Macintosh"]
[entity type string] -- the type of entity to search for [e.g., "LaserWriter"]
[AppleTalk zone string] -- the zone in which to search [default is local zone]
[matching network ID integer] -- only return entities matching network ID
[matching node ID integer] -- only return entities matching node ID
[matching socket integer] -- only return entities matching socket
[maximum small integer] -- the maximum number of entities to get [default is 32]
[retry interval small integer] -- the retry interval in seconds [default is 3]
[retry count small integer] -- the retry count [default is 4]
[object names only boolean] -- just return object names? [default is false]
[address details boolean] -- include address details? [default is false]
Result: list

Class network information: gobs of network related info
Properties:
ethernet address string [r/o] -- the Mac's ethernet address
OpenTransport present boolean [r/o] -- is OpenTransport present?
OpenTransport loaded boolean [r/o] -- is OpenTransport loaded?
OpenTransport version string [r/o] -- the version of OpenTransport
AppleTalk present boolean [r/o] -- is AppleTalk present?
AppleTalk loaded boolean [r/o] -- is AppleTalk loaded?
AppleTalk version string [r/o] -- the version of AppleTalk
network ID integer [r/o] -- the network number
node ID integer [r/o] -- the node ID
router network ID integer [r/o] -- the network number of the Mac's router
router node ID integer [r/o] -- the node ID of the Mac's router
AppleTalk zone string [r/o] -- the local AppleTalk zone
TCPIP present boolean [r/o] -- is TCP/IP present?
TCPIP loaded boolean [r/o] -- is TCP/IP loaded?
TCPIP version string [r/o] -- the version of TCP/IP
IP address string [r/o] -- he Mac's IP address in dotted decimal format, e.g., 129.62.1.12
IP name string [r/o] -- the Mac's IP domain name, e.g., www.baylor.edu
computer name string [r/o] -- the computer's (Chooser) name
owner name string [r/o] -- the owner's (FileSharing) name

Class AppleTalk entity: an AppleTalk entity
Properties:
object name string [r/o] -- the entity's object name
entity type string [r/o] -- the entity's type
network ID integer [r/o] -- the entity's network number
node ID small integer [r/o] -- the entity's node ID
socket small integer [r/o] -- the entity's socket

Notes:

network information

AppleTalk zones

AppleTalk entities

Release Notes:

1.2 (22-Apr-99)

1.1 (2-Jun-98)

1.0.1 (4-Jun-97)

1.0 (c. 1996)

If you have any questions, comments, (constructive) criticism, or bug reports please let me know. You can contact me at the address(es) below.

-cb

Carl_Bell@baylor.edu
Carl Bell's Web Page
Stuff I've Written

Snail Mail:

Carl W. Bell
Academic and Research Computing Services
Baylor University Electronic Library
One Bear Place #97148
Waco, TX 76798
Phone:
(254) 710-4065
Baylor's Fine Print:

This software, data and/or documentation contain trade secrets and confidential information which are proprietary to Baylor University. Their use or disclosure in whole or in part without the express written permission of Baylor University is prohibited.

This software, data and/or documentation are also unpublished works protected under the copyright laws of the United States of America. If these works become published, the following notice shall apply:

Copyright © 1996-1999 Baylor University
All Rights Reserved
The name of Baylor University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE, DATA AND/OR DOCUMENTATION ARE PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

When permission has been granted to make copies of this software, data and/or documentation, the above notices must be retained on all copies.

Permission is hereby granted for non-commercial use and distribution of Network Info OSAX.