Re: if statement
Re: if statement
- Subject: Re: if statement
- From: g3pb <email@hidden>
- Date: Fri, 16 Feb 2001 12:40:11 -0900
tell application "Finder" to set thisVersion to version
if thisVersion is "9.1" then
-- do stuff
else if thisVersion is "8.6" then
-- do different stuff
else
say "were are out of here"
end if
-- hcir
mailto:email@hidden
Made with a Mac!
>
>
How can I set apple script to use an "if" statement to check if the version
>
of an specific operating system lets say 8.6 is active or "true" then
>
proceed to run any command, else if the operating system is, lets say 9.1,
>
then proceed to run any command. I just need to know how to specify the
>
operating system in use in an if statement through AppleScript.
References: | |
| >if statement (From: "Braulio Gonzales" <email@hidden>) |