I am new here. I have searched about default mail client information on mac os x. I found some help here How do I get the default mail client using applescript? But i did not got all the information i wanted.I got default mail client name but could not got its version that i see in "About Mail" section of Mail.app(when launched).
相关问题
- Multiple sockets for clients to connect to
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
LaunchServices is the OS X API that contains info about the user's preferred applications.
The
LSGetApplicationForURL()
function will return the data you seek. Here's a short example of its use:On my system, that prints
/Applications/Mail.app
. If you want more info about the returned item, you can use theLSCopyItemInfoForURL()
function onmailAppURL
.