This content has been marked as final. Show 3 replies
Any one know of a way to do this. I did see that the value for the Environment[ #Platform ] was reported differently on the different platforms:
win reported info (xp w ie7)
ppc osx reported info
intel osx reported info
But I only ran this test on three machines. Will the new intel mac always report "Macintosh,PPC" while the older architecture reports "Macintosh,PowerPC"
I imagine this may be rarely-chartered territory....
One thing you can try is Valentin's Shell xtra with the system_profiler command;
profile = shell_cmd( "system_profiler SPHardwareDataType" )
I get differently formatted results on my Intel iMac and my PPC iBook so I'm not sure about parsing the result but it does identify the processor in either case.
Model Name: iMac
Model Identifier: iMac5,1
Processor Name: Intel Core 2 Duo...
Machine Name: iBook
Machine Model: PowerBook4,3
CPU Type: PowerPC 750 (2.3)...
As it turns out I can handle the different processors by some crafty code. I don't need to know the processor.
Thanks for the link though, I will need it someday I am sure.