Hi Arnaud,
this is an oldy but goldy.
The following code still works after a long, long time:
dim theApp as ICAppMBS
'create the ICConfig
theICInfo = new InternetConfigMBS("RBv2")
'check the application
if theICInfo <> nil and theICInfo.available then
theApp = theICInfo.ICHelperMailTo
if theApp = nil then
Globals.theErrorlog.DialogErrorProceed "Could not read the Internet
Preferences!"
theMailhelper = ""
else
dim theApplicationItem as FolderItem =
LaunchServicesFindApplicationForInfoMBS("","", theApp.Name + ".app")
theMailhelper = theApplicationItem.getBundleID
end if
end if
On 30.06.2011, at 12:29, Arnaud Nicolet wrote:
> I've put a breakpoint just after "i=new InternetConfigMBS" to see the
> properties. CanRead equals to false but some properties are filled
> (like the DownloadFolder). The property I want ("ICEmail") is empty.
> I'm wondering whether InternetConfig is actually available in Mac OS X
> (I know it comes from Mac OS 9).
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info