Le 6 déc. 2012 à 13:28, Christian Schmitz a écrit: > On 06.12.2012, at 13:14, Marnaud <[email protected]> wrote: > >> Ah, you were referring to alias data… They wouldn't vary between mount or >> machine restarts‽ >> Ok, thank you! > > Typically Apple Stores information there to find the volume again.
Ok, thanks for the information. There's a remaining limitation in my app. It listens to events to know when a volume is mounted. So, when such event happens, I have to compare the mounted volume against my array of saved volumes. If I resolve the saved strings to their volumes, the original problem of comparing my two folderitems (=the resolved volume and the one being mounted) rises again. I'm forced to compare the GetSaveInfo of the volume against my array (which I keep as strings of the GetSaveInfo read from prefs) using IndexOf. This assumes a GetSaveInfo string won't change between times (e.g. if the volumes aren't mounted in the same order, their MacVRefNum would change; if this is stored inside the GetSaveInfo, they become non-equal and I'll fail to see a matching volume). I'll see… _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
