HiraokaHyperTools / msgreader

35 stars 9 forks source link

PidLidGlobalObjectId & PidLidLocation #46

Closed PixelsByLucas closed 6 months ago

PixelsByLucas commented 6 months ago

I'm trying to access PidLidGlobalObjectId and PidLidLocation.
Although they're not returned by default from getFileData, I have found them in rawProps via propertyLid. The trouble is that rawProps contains 2 items for both PidLidGlobalObjectId and PidLidLocation.

For example, here are the two items found for propertyLid 0x00000003 (PidLidGlobalObjectId). Both with the same propertySet and propertyTag. Only the value is different. The value for the first item seems to be what I'm looking for. I'm not sure what the second item is.

global_object_idx2

Is this expected? Why would there be 2 items with different values? Lastly, would you consider including PidLidGlobalObjectId and PidLidLocation to the default output from getFileData? They are very useful when dealing with calendar appointments.

Thank you for your work on this package. It is very useful.

kenjiuno commented 6 months ago

Hi.

@kenjiuno/msgreader@1.22.0-beta3 has published.

apptLocation has been added. SomeOxProps | @kenjiuno/msgreader - v1.22.0-beta2

globalAppointmentID has been added. SomeParsedOxProps | @kenjiuno/msgreader - v1.22.0-beta3

About the duplicate entries in rawProps, there may be errors inside Property Stream processor I have written. msgreader's coding style of forked part is very old. It needs to build from scratching.

kenjiuno commented 6 months ago

About duplicate entries, the new version will mitigate the issue.

@kenjiuno/msgreader@1.22.0-beta4