Le 30 juin 11 à 17:51, Christian Schmitz a écrit:
> I think it's deprecated by Apple for some time now.
>
> Use LaunchServicesDefaultHandlerForURLSchemeMBS. Maybe like this:
>
> dim s as string = LaunchServicesDefaultHandlerForURLSchemeMBS("http")
>
> if len(s) = 0 then
> MsgBox "undefined."
> else
> dim f as FolderItem = LaunchServicesFindApplicationForInfoMBS("",
> s, "")
>
> if f<>Nil then
> MsgBox f.AbsolutePath
> end if
> end if
>
> LaunchServicesDefaultHandlerForURLSchemeMBS gives you the bundle id
> of the application. And LaunchServicesFindApplicationForInfoMBS
> gives the application for the bundle ID.
Thanks for your example. So ICEmail isn't the email address of the user?
(I said I wanted the ICEmail field, but perhaps I was wrong. I'd like
to auto-fill a "from" field using the email address of the user).
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info