• 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
Re: Get System Info - How
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get System Info - How


  • Subject: Re: Get System Info - How
  • From: email@hidden
  • Date: Sat, 3 Apr 2004 21:17:48 +1000

On 02/04/2004, at 2:11 PM, Bill wrote:

How would I go about getting just the "user name" or "ethernet address"
or "RAM available" etc ?

physical RAM size:
(((system attribute "ram ") div 1024 div 1024) as Unicode text) & "MB RAM"
-- "1024MB RAM"

well, this works, but only with the space after ram. why?

user name:
system attribute "USER"
-- "bill"

this works without any space. additionally system atribute without any arg returns a list containing "USER" but not "ram ". again: why???

thanks, leo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Get System Info - How
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: Get System Info - How (From: Bill <email@hidden>)

  • Prev by Date: Re: Utility to show key codes?
  • Next by Date: Re: Get System Info - How
  • Previous by thread: Re: Get System Info - How
  • Next by thread: Re: Get System Info - How
  • Index(es):
    • Date
    • Thread