Xojo Conferences
XDCMay2019MiamiUSA

[MBS] LaunchServicesItemInfoMBS Question (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Problems with QTMovieExporter
Next thread: [MBS] Webkit in version 4


[MBS] LaunchServicesItemInfoMBS Question   -   Bob Keeney
  Re: [MBS] LaunchServicesItemInfoMBS Question   -   Christian Schmitz

[MBS] LaunchServicesItemInfoMBS Question
Date: 21.01.04 05:03 (Tue, 20 Jan 2004 22:03:30 -0600)
From: Bob Keeney
Hi Folks,
I'm not sure if this is a plugin problem or a Mac OS X problem. When I
run the code below in OS X (10.3) the file extension is always returned
as a lowercase string even if the extension was purposely set in
uppercase or mixed case. Anyone have any ideas?

dim f as folderitem
dim s as string
dim launchItem as LaunchServicesItemInfoMBS

launchItem = new LaunchServicesItemInfoMBS
launchItem = f.LaunchServicesItemInfoMBS(-1)
s = launchItem.Extension //Always returns lowercase!!!

Thanks,
Bob Keeney
BKeeney Software Inc.

Re: [MBS] LaunchServicesItemInfoMBS Question
Date: 21.01.04 19:51 (Wed, 21 Jan 2004 19:51:54 +0100)
From: Christian Schmitz
Bob Keeney <<email address removed>> wrote:

> Hi Folks,
> I'm not sure if this is a plugin problem or a Mac OS X problem. When I
> run the code below in OS X (10.3) the file extension is always returned
> as a lowercase string even if the extension was purposely set in
> uppercase or mixed case. Anyone have any ideas?

You may ask Apple, but I guess they make the extension lowercase for
their internal database.

Mfg
Christian