How to know on which OS the app is running?
Posted: Mon Mar 26, 2012 4:34 pm
To use commands, that are special to the OS, it would be useful to know on which OS the app is running.
I found two wasy, but both are not quite simple:
Is there a command simple to use?
I found two wasy, but both are not quite simple:
than check if fFolder is empty or not to know which OS is running.put specialFolderPath("desktop") into field "fFolder"
on Mac 10.7.3 I get "unknown" - nice bug -put the machine into field "fMachine"
Is there a command simple to use?