Docs @ Psychtoolbox Wiki : AppleVersion

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

AppleVersion

PsychtoolboxPsychOneliners

versionString=AppleVersion(gestaltString)

OS 9 and OS X


AppleVersion('qtim') % QuickTime
AppleVersion('atkv') % AppleTalk
Uses Gestalt to retrieve Apple version information and returns a string.
Apple has a "standard" format for versions, e.g. 3.0f7 or 8.0.1, that
they use for some of their software components. APPLEVERSION uses GESTALT
to retrieve the information. However, this is only useful for the few
Gestalt selectors that return information in this "standard" format.
If the selector is undefined (possibly because that software is
not present) APPLEVERSION returns an empty string.

WINDOWS


AppleVersion does not exist in Windows.


see also: Gestalt, Screen('Computer?'), MacModelName




Path   Retrieve current version of AppleVersion.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychOneliners/AppleVersion.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0222 seconds