• 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
Computer vs. System Attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Computer vs. System Attributes


  • Subject: Computer vs. System Attributes
  • From: David Graham <email@hidden>
  • Date: Fri, 5 Oct 2001 21:45:01 -0700

I can't for the life of me figure out how to get the name of the computer with the new system attributes function. I gathered that I had to find the gestalt code to use with this function but it isn't giving me anything close to the response that I was expecting.

gestaltUserVisibleMachineName = "mnam"

tell current application
system attribute "mnam"
--> 64175952
end tell

Please help ... I've wasted hours with this wonderful new feature in OS X scripting. ;-)

--

:: dmgraham information solutions ... database, web & more ::

david m graham
10353 san diego mission rd., #107c, san diego, ca 92108
619.322.9698
http://www.dmgraham.n3.net


  • Follow-Ups:
    • Re: Computer vs. System Attributes
      • From: Jon Pugh <email@hidden>
  • Prev by Date: Re: Flickering cursor
  • Next by Date: Re: Computer vs. System Attributes
  • Previous by thread: Re: Flickering cursor
  • Next by thread: Re: Computer vs. System Attributes
  • Index(es):
    • Date
    • Thread