You could use app do script and pass it the string "return boot volume of (system info)" as AppleScript…
You could try:
var usersHome = Folder('~').fsName.toString();
to give you the user's home folder
and you can use:
if (File.fs == "Windows")
in test situations where you need to apply different settings for the different OS's
1 person found this helpful
Hello again canpserra
You can also see a thread I posted in 2009 asking the very same question. Kasyan (many thanks, it's been invaluable since) posted a great reply - post 5 in the thread.
or search for:
Thanks for your raplay Mark.
No probs - it's nice to be able to give back to the forum after having so much good stuff from it.