• 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
Display Model Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display Model Name


  • Subject: Display Model Name
  • From: Jeffrey Madson <email@hidden>
  • Date: Wed, 14 Sep 2011 15:35:06 -0500

Hello,

I have a script that I built two years ago with the help of several scripters from this post. The script displays some basic system information about the Mac it's running on in one easy to read window to aid the help desk. I have another piece of information I want to add to the window and this is the Model Name from the System Profiler.

Here is my script and error message below. Any suggestions would be greatly appreciated.

set macInfo to system info

set ModelName to ModelName of macInfo

set the end of userInfo to {"ModelName:", ModelName} as text

The error I get is: 

error "Can’t get ModelName of {AppleScript version:\"2.1.2\", AppleScript Studio version:\"1.5.1\", system version:\"10.6.8\", short user name:\"ditjm0-local\", long user name:\"ditjm0-local\", user ID:501, user locale:\"en_US\", home directory:alias ................







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Display Model Name
      • From: Christopher Stone <email@hidden>
    • Re: Display Model Name
      • From: Stan Cleveland <email@hidden>
    • Re: Display Model Name
      • From: wayne melrose <email@hidden>
  • Prev by Date: Re: [ANN] ModuleLoader 2.3
  • Next by Date: Re: Display Model Name
  • Previous by thread: Toolbar Or Not Toolbar
  • Next by thread: Re: Display Model Name
  • Index(es):
    • Date
    • Thread