Return Current OS
Return Current OS
- Subject: Return Current OS
- From: "Sgt. Pepper" <email@hidden>
- Date: Wed, 20 Nov 2002 08:09:23 -0800
Hello,
Can someone please help me with this syntax. I am writing a script
in which I need to determine the OS of the mac that the script is
running. I have tried everything I could think of and all I was able
to do was to get Apple System Profiler to return a Unicode Text Doc.
Here's a brief example of what I'm looking to do:
tell some app
get current OS
if result is "10.x" then
do OS X stuff
else
do OS 9 stuff
end if
end tell
My apologies if this has already been addressed but I have searched
through past posts and can't find a thread concerning this.
---
Thanks!
Live the Dream!
__________________________
Kevin Dolan
Pixxon Imaging Studios
2055 Bryant Street
San Francisco, CA 94110
(415) 641-5407
www.pixxon.com
_______________________________________________
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.