• 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: OS 9 or Classic, that's the question :-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS 9 or Classic, that's the question :-)


  • Subject: Re: OS 9 or Classic, that's the question :-)
  • From: Michael Slomski <email@hidden>
  • Date: Tue, 28 Oct 2003 11:02:05 +0100

Thanks a lot,

Here is my way how I've got it running:

tell application "Finder"
set myVersion to version
set myVersion to (last word of myVersion)

set oldDelims to AppleScript's text item delimiters

set AppleScript's text item delimiters to "."
set myFirst to text item 1 of myVersion
set mySecond to text item 2 of myVersion

set myFinderVersionNum to (myFirst & "," & mySecond) as number
if myFinderVersionNum < 10 then
set isOS9 to true
else
set isOS9 to false
end if

-- here follows more stuff :-))
end tell

Until now, it is running and working, but I will give Chris' solution also a
try because it seems shorter. And shorter is very times better because most
often you can make less errors :-)


Best regards
Michael Slomski

---
Computerkartographie M. Slomski
Kartographie Systemberatung & Betreuung
f|r Apple Macintosh


Schnorr-von-Carolsfeld-Str. 19
D-81927 M|nchen

Tel.: ++49 +89-929 40 57 oder ++49 +177-44 57 990
Fax.: ++49 +89-939 311 71
Email: email@hidden
_______________________________________________
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: OS 9 or Classic, that's the question :-)
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: OS 9 or Classic, that's the question :-) (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Panther Problems - Bug in "Mount Volume"
  • Next by Date: Set bounds of Filemaker window in Panther
  • Previous by thread: Re: OS 9 or Classic, that's the question :-)
  • Next by thread: Re: OS 9 or Classic, that's the question :-)
  • Index(es):
    • Date
    • Thread