MacNN Forums (
-   Classic Macs and Mac OS (
-   -   Gathering Apple System Profiler info' (

tony.eastwood Jul 30, 2002 01:38 PM
Gathering Apple System Profiler info'
Is this an Applescript question? What section should I have posted it in?

Apple System Profiler has all the information I need. More than I need in fact. I just want the serial number, Mac type, HD size and MacOs installed. I would like to gather this information remotely - from a server say, and run comparison checks occasionally. Almost a way of taking inventory, but I will have to do a physical check anyway so it's more a case of recording all the vital information without having to do so manually. It would make a lot of sense to have a way of "bringing" this information together. Wouldn't it?

Is this a job for AppleScript (Macs will be running 8.6 or 9.2) or is there a utility written specifically for this task?

Or am I asking the impossible?

Any suggestions?


Tony Eastwood
tony.eastwood Jul 30, 2002 01:40 PM
PS There are 400 Macs to deal with, so this isn't a whimsical project.

Juat so you know.
AppleScript Jul 30, 2002 02:25 PM
This script will gather some of the required data, and paste it into AppleWorks:

tell application "Apple System Profiler" of machine "eppc://(IP address concealed)"
set A to {serial number, model name, system version}
end tell
tell application "AppleWorks 6"
set the clipboard to item 1 of A
select cell ((index of selection) + 1) of document 1
set the clipboard to item 2 of A
select cell ((index of selection) + 1) of document 1
set the clipboard to item 3 of A
end tell

Apple System Profiler must be running on the target machine first, and program linking must be enabled.


<small>[ 07-30-2002, 02:27 PM: Message edited by: AppleScript ]</small>
All times are GMT -4. The time now is 09:14 PM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

Content Relevant URLs by vBSEO 3.3.2