• 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: What System?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What System?


  • Subject: Re: What System?
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 23 Aug 2011 10:44:37 -0700

Hey there, on Tue Aug 23 10:33:10 2011, Robert Poland wrote the following interesting missive:

set AppleScript's text item delimiters to {"."}
(text items of (system version of (system info)) & {"0", "0", "0"})

Why the " & {"0", "0", "0"}"?

if x < 7 then
set lionSystem to false
else
set lionSystem to true
end if

That will fail when 10.8 comes out.

-- Michelle

-- 
Velveeta is to American cheese as American cheese is to cheese.

 _______________________________________________
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: What System?
      • From: Robert Poland <email@hidden>
References: 
 >What System? (From: Robert Poland <email@hidden>)
 >Re: What System? (From: Luther Fuller <email@hidden>)
 >Re: What System? (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: What System?
  • Next by Date: Re: What System?
  • Previous by thread: Re: What System?
  • Next by thread: Re: What System?
  • Index(es):
    • Date
    • Thread