Re: Carbon API list for Mac
Posted: Tue Aug 25, 2015 11:12 pm
Many thanks wilbert! All those examples work beautifully on my Mac64
Im getting two programming books on Mac in a week or two both go into Cocoa so hopefully I won't have to ask too many stupid questions for long heehe
Reading the documentation as you suggested for NSRunningApplication Class i see that we need to check "executableURL" to get the actual path of the process, it's of type "NSURL" not string like "localizedName", how can we read that? My searched showed a couple other NSURL purebasic uses but i couldnt get it working with this, usually memory error saying incompatible type
ps. (no pun!) even when I run it with sudo it only lists about a quarter of the ones that "ps -x" lists?
Im getting two programming books on Mac in a week or two both go into Cocoa so hopefully I won't have to ask too many stupid questions for long heehe
Reading the documentation as you suggested for NSRunningApplication Class i see that we need to check "executableURL" to get the actual path of the process, it's of type "NSURL" not string like "localizedName", how can we read that? My searched showed a couple other NSURL purebasic uses but i couldnt get it working with this, usually memory error saying incompatible type
ps. (no pun!) even when I run it with sudo it only lists about a quarter of the ones that "ps -x" lists?