Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Classic Macs and Mac OS > Gathering Apple System Profiler info'

Gathering Apple System Profiler info'
Thread Tools
tony.eastwood
Forum Regular
Join Date: Mar 2000
Location: S Vermont
Status: Offline
Reply With Quote
Jul 30, 2002, 01:38 PM
 
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?

Thanks

Tony Eastwood
     
tony.eastwood  (op)
Forum Regular
Join Date: Mar 2000
Location: S Vermont
Status: Offline
Reply With Quote
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
Forum Regular
Join Date: Feb 2001
Status: Offline
Reply With Quote
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"
activate
set the clipboard to item 1 of A
paste
select cell ((index of selection) + 1) of document 1
set the clipboard to item 2 of A
paste
select cell ((index of selection) + 1) of document 1
set the clipboard to item 3 of A
paste
end tell

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

(172)

<small>[ 07-30-2002, 02:27 PM: Message edited by: AppleScript ]</small>
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:51 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,