Le 5 sept. 2014 à 1:41, Obleo Beck a écrit:

> I added this to the change event of a listbox that lists files paths (it used 
> to work with AbsolutePath)

Christian already answered you for your main question (use 
“f=GetFolderItem(ss,3)”) but I'll add that what you did with AbsolutePath is 
something you should have avoided since the beginning.
Consider two simple examples: (1) you mount a volume from a remote computer 
over the network, like a remote “Macintosh HD” or (2) if you have [at least] 2 
partitions on your desktop (perhaps with an USB disk), you rename one so two 
partitions have the same name (you know either situation can happen easily, 
right?). Now the problem arises: AbsolutePath doesn't distinguish 2 volumes 
that have the same name, so your QLPreviewViewMBS object would be confused (as 
would be anything that gets a path of type AbsolutePath).
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to