Hi, Could you tell me plz - how to catch system information like os version, installed apps versions, hardware details using macruby or ruby cocoa?
A:
You might be able to find what you need with NSProcessInfo:
>> NSProcessInfo.processInfo.operatingSystemVersionString
=> "Version 10.6.2 (Build 10C540)"
>> NSProcessInfo.processInfo.processorCount
=> 2
>> NSProcessInfo.processInfo.physicalMemory
=> 4294967296
Check out the Mac Dev Center for more.
csexton
2010-02-12 04:26:02
ok, but how to catch information about installed apps with versions?
Alexey Poimtsev
2010-02-15 08:44:47